Browse Source

修改返回

wangxy 13 hours ago
parent
commit
eb380175bf
1 changed files with 4 additions and 1 deletions
  1. 4 1
      pages/Login/test.vue

+ 4 - 1
pages/Login/test.vue

@@ -192,10 +192,13 @@
 			} else {
 				toast('登录失败,您的身份有误,请联系管理员。')
 			}
+			 uni.hideLoading()
 		}).catch(err => {
 			store.setIsCanBack(true)
+			setTimeout(() => {
+				 uni.hideLoading()
+			},4000)
 		}).finally(err => {
-			uni.hideLoading()
 		})
 	}