Commit a3f5e5d51e08cbaaa11d02979251e9c536e57e90

Authored by wangfan
1 parent 718e6224

c端预定

Showing 1 changed file with 5 additions and 1 deletions
@@ -399,8 +399,12 @@ Page({ @@ -399,8 +399,12 @@ Page({
399 wx.showTabBar(); 399 wx.showTabBar();
400 }, 400 },
401 moveToLocation(){ 401 moveToLocation(){
  402 + let map=this.data.map
  403 + map.latitude=this.user.latitude
  404 + map.longitude=this.user.longitude
  405 + map.scale=mapScale
402 this.setData({ 406 this.setData({
403 - [`map.scale`]:mapScale, 407 + map:map
404 }) 408 })
405 this.mapCtx.moveToLocation({ 409 this.mapCtx.moveToLocation({
406 success:(res)=>{ 410 success:(res)=>{