Commit 734efb674308a98de8a09eefa8d53595f43f98ee

Authored by wangfan
1 parent c3fa4971

c端预定

Showing 1 changed file with 8 additions and 1 deletions
... ... @@ -82,6 +82,7 @@ Page({
* 生命周期函数--监听页面显示
*/
onShow: async function () {
this.getClassNameFlag=true;
//this.getPos();
if(this.data.hasSuggestion) return;
await getApp().getSystemInfo();
... ... @@ -194,6 +195,7 @@ Page({
regionchange(e){
console.log('regionchange', e)
if(typeof this.mapCtx=='undefined') return;
this.getClassNameFlag=true;
this.mapCtx.getScale({
success: (res) => {
this.mapData.scale = res.scale;
... ... @@ -224,6 +226,7 @@ Page({
},
mapUpdated(e){
console.log('mapUpdated', e)
this.getClassNameFlag=true;
this.mapCtx.getScale({
success:(res)=>{
this.mapData.scale=res.scale;
... ... @@ -453,6 +456,10 @@ Page({
markerId:this.sellers[i].id
},false)
}
this.getClassNameFlag=true;
let that=this;
setTimeout(function(){
that.getClassNameFlag=true;
},300)
},
})
\ No newline at end of file
... ...