Commit 2661e491 authored by 潘永坪's avatar 潘永坪

Merge branch 'develop' of http://192.168.0.204/panyongping/uni-pdtravel into develop

parents 3646ae60 7371e024
...@@ -650,21 +650,21 @@ export default { ...@@ -650,21 +650,21 @@ export default {
}) })
}, },
onHide: function () { onHide: function () {
if(this.timer1) { if(this.timer1) {
clearTimeout(this.timer1) clearTimeout(this.timer1)
this.timer1 = null this.timer1 = null
} }
if(this.timer2) { if(this.timer2) {
clearTimeout(this.timer2) clearTimeout(this.timer2)
this.timer2 = null this.timer2 = null
} }
if(this.timer3) { if(this.timer3) {
clearTimeout(this.timer3) clearTimeout(this.timer3)
this.timer3 = null this.timer3 = null
} }
uni.setScreenBrightness({// 恢复之前屏幕亮度 uni.setScreenBrightness({// 恢复之前屏幕亮度
value: this.Brightness value: this.Brightness
}) })
}, },
onLoad(option) { onLoad(option) {
if(option.orderId!=undefined){ if(option.orderId!=undefined){
......
...@@ -728,6 +728,14 @@ export default { ...@@ -728,6 +728,14 @@ export default {
} }
//隐藏加载框 uni.hideLoading() //隐藏加载框 uni.hideLoading()
}, },
onHide: function () {
if(this.timerOutClear) {
clearTimeout(this.timerOutClear)
this.timerOutClear = null
}
//隐藏加载框
uni.hideLoading()
},
} }
</script> </script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment