修复押金充值后页面闪烁问题
This commit is contained in:
parent
77175a85d0
commit
c9456a3b85
28
pages.json
28
pages.json
|
@ -211,22 +211,22 @@
|
|||
// ... 分包A的其他页面
|
||||
]
|
||||
},
|
||||
{
|
||||
"root": "pages_adminSet", // 分包A的根目录
|
||||
"pages": [
|
||||
{
|
||||
"path": "shgl",
|
||||
"style": {
|
||||
"navigationBarTitleText": "上传",
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
}
|
||||
// {
|
||||
// "root": "pages_adminSet", // 分包A的根目录
|
||||
// "pages": [
|
||||
// {
|
||||
// "path": "shgl",
|
||||
// "style": {
|
||||
// "navigationBarTitleText": "上传",
|
||||
// "enablePullDownRefresh": false,
|
||||
// "navigationStyle": "custom"
|
||||
// }
|
||||
// }
|
||||
|
||||
|
||||
// ... 分包A的其他页面
|
||||
]
|
||||
},
|
||||
// // ... 分包A的其他页面
|
||||
// ]
|
||||
// },
|
||||
{
|
||||
"root": "page_user",
|
||||
"pages": [{
|
||||
|
|
|
@ -1069,7 +1069,13 @@
|
|||
this.$nextTick(() => {
|
||||
this.initScroll();
|
||||
});
|
||||
}
|
||||
},
|
||||
showdevice(newValue, oldValue) {
|
||||
console.log('showdevice变化了', newValue, oldValue);
|
||||
},
|
||||
deviceIndex(newValue, oldValue) {
|
||||
console.log('deviceIndex变化了', newValue, oldValue);
|
||||
},
|
||||
|
||||
},
|
||||
|
||||
|
@ -1134,9 +1140,9 @@
|
|||
}
|
||||
|
||||
}
|
||||
setTimeout(() => {
|
||||
this.$store.commit('SET_SHOWTIPS', true);
|
||||
}, 500)
|
||||
// setTimeout(() => {
|
||||
// this.$store.commit('SET_SHOWTIPS', true);
|
||||
// }, 500)
|
||||
},
|
||||
onShow() {
|
||||
this.timestare()
|
||||
|
@ -1208,7 +1214,8 @@
|
|||
that.longitude = lb.longitude;
|
||||
that.deviceGps.latitude = lb.latitude;
|
||||
that.deviceGps.longitude = lb.longitude;
|
||||
console.log(that.areaInfo, 'that.areaInfo');
|
||||
// console.log(that.areaInfo, 'that.areaInfo');
|
||||
console.log('进入了1111111111111');
|
||||
that.getArea()
|
||||
if (that.qParam != 'null' && that.showagre == false) {
|
||||
let qParam = that.qParam
|
||||
|
@ -1279,6 +1286,8 @@
|
|||
|
||||
} else {
|
||||
this.getinfo()
|
||||
|
||||
|
||||
}
|
||||
|
||||
},
|
||||
|
@ -1288,7 +1297,7 @@
|
|||
if (this.timers) {
|
||||
clearInterval(this.timers);
|
||||
this.timers = null;
|
||||
console.log('定时器已清除');
|
||||
console.log('定时器已清除1');
|
||||
}
|
||||
xBlufi.listenDeviceMsgEvent(false, this.funListenDeviceMsgEvent);
|
||||
xBlufi.notifyStartDiscoverBle({
|
||||
|
@ -1300,7 +1309,7 @@
|
|||
if (this.timers) {
|
||||
clearInterval(this.timers);
|
||||
this.timers = null;
|
||||
console.log('定时器已清除');
|
||||
console.log('定时器已清除2');
|
||||
}
|
||||
xBlufi.listenDeviceMsgEvent(false, this.funListenDeviceMsgEvent);
|
||||
xBlufi.notifyStartDiscoverBle({
|
||||
|
@ -1312,7 +1321,7 @@
|
|||
if (this.timers) {
|
||||
clearInterval(this.timers);
|
||||
this.timers = null;
|
||||
console.log('定时器已清除');
|
||||
console.log('定时器已清除3');
|
||||
}
|
||||
xBlufi.listenDeviceMsgEvent(false, this.funListenDeviceMsgEvent);
|
||||
xBlufi.notifyStartDiscoverBle({
|
||||
|
@ -4386,16 +4395,23 @@
|
|||
if (res.code == 200) {
|
||||
this.$store.commit('SET_USERID', res.user.userId);
|
||||
this.userinfo = res.user
|
||||
setTimeout(()=>{
|
||||
console.log(this.userinfo.balance,this.deviceIndex,this.showdevice,'this.userinfo.balancethis.userinfo.balancethis.userinfo.balance');
|
||||
if(this.userinfo.balance!=0&&this.deviceIndex==1&&this.showdevice==true){
|
||||
this.taploadmask(1)
|
||||
}
|
||||
|
||||
},300)
|
||||
} else {
|
||||
setTimeout(() => {
|
||||
this.getinfo()
|
||||
}, )
|
||||
// setTimeout(() => {
|
||||
// this.getinfo()
|
||||
// }, 200)
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
||||
}
|
||||
},
|
||||
getSNFromQRCode(url) {
|
||||
|
@ -4430,7 +4446,6 @@
|
|||
this.gps.sn = this.sn
|
||||
}
|
||||
|
||||
|
||||
this.$u.get('/app/area/info?', this.gps).then((res) => {
|
||||
// this.showmap = true
|
||||
if (res.code === 200) {
|
||||
|
@ -4511,6 +4526,7 @@
|
|||
}).catch(error => {
|
||||
console.error("Error fetching area data:", error);
|
||||
});
|
||||
|
||||
},
|
||||
|
||||
convertBoundaryToPolyline(boundary) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user