wangxy il y a 10 heures
Parent
commit
eb380175bf
1 fichiers modifiés avec 4 ajouts et 1 suppressions
  1. 4 1
      pages/Login/test.vue

+ 4 - 1
pages/Login/test.vue

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