Commit 1da92a9a99682756d9330a0552fc3ff9c8f01e24

Authored by vking
1 parent 34ce49ec

fixbug地图跳回初始定位

Showing 1 changed file with 6 additions and 3 deletions
... ... @@ -100,9 +100,12 @@ Page({
'appHide',
data=>{
console.log('appHide');
this.hasGetLocation=false
this.hasClickMoveToLocation=false
this.hasAppHide=true
let pages=getCurrentPages();
if(pages.length==1){//用户停留在首页
this.hasGetLocation=false
this.hasClickMoveToLocation=false
this.hasAppHide=true
}
}
)
reddot.init()
... ...