@@ -123,7 +123,7 @@
statusHeight: 30,
btnShow: false,
- boxId: '',
+ boxId: null,
isTry: null,
orderId: '',
ticketId: '',
@@ -193,18 +193,30 @@
_this.btnShow = true
_this.running()
},500)
- } else if (res.code == 401 || res.code == 500) {
+ } else if (res.code == 401 ) {
uni.hideLoading();
clearInterval(time)
uni.navigateBack({
delta: 2
})
- }
+ } else if(res.code == 500) {
+ uni.hideLoading();
+ clearInterval(time)
+ uni.navigateBack({
+ delta: 1
+ })
+ }
if (num == 10) {
}
+ }).catch(() => {
}, 1000)
},