@@ -173,7 +173,13 @@
_this.btnShow = true
_this.running()
},500)
- }
+ } else if (res.code == 401 || res.code == 500) {
+ uni.hideLoading();
+ clearInterval(time)
+ uni.navigateBack({
+ delta: 2
+ })
+ }
if (num == 10) {
uni.hideLoading();