|
...
|
...
|
@@ -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()
|
...
|
...
|
|