|
@@ -270,10 +270,19 @@
|
|
|
optionType:1,
|
|
|
registAmount:null,
|
|
|
shareToken:"",
|
|
|
- isVisiable:true
|
|
|
+ isVisiable:true,
|
|
|
+ isPageHide:false,
|
|
|
}
|
|
|
},
|
|
|
mounted() {
|
|
|
+ window.addEventListener('pageshow', function(){
|
|
|
+ if(this.isPageHide) {
|
|
|
+ window.location.reload();
|
|
|
+ }
|
|
|
+ })
|
|
|
+ window.addEventListener('pagehide',function(){
|
|
|
+ this.isPageHide = true;
|
|
|
+ })
|
|
|
this.isFirst = true
|
|
|
this.color4 = app.globalData.color4;
|
|
|
this.getData();
|