Commit a3f5e5d51e08cbaaa11d02979251e9c536e57e90

Authored by wangfan
1 parent 718e6224

c端预定

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