shish 1 tháng trước cách đây
mục cha
commit
8fd8366ae3
2 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 1 0
      ghsApp/src/admin/home/login.vue
  2. 1 1
      hdApp/src/admin/home/login.vue

+ 1 - 0
ghsApp/src/admin/home/login.vue

@@ -583,6 +583,7 @@ export default {
 				},
 				fail(res){  
 					//如果手机没有插入有效的sim卡,或者手机蜂窝数据网络关闭,都有可能造成预登录校验失败
+					uni.hideLoading()
 					let msg = '登录失败...'
 					if (res.code == 30005) {
 						msg = '请关闭WIFI,打开移动流量'

+ 1 - 1
hdApp/src/admin/home/login.vue

@@ -498,8 +498,8 @@ export default {
 					},
 					fail(res){
 						//如果手机没有插入有效的sim卡,或者手机蜂窝数据网络关闭,都有可能造成预登录校验失败
+						uni.hideLoading()
 						if (res.code == 30005) {
-							uni.hideLoading()
 							that.$util.confirmModal({
 								title: '登录失败',
 								content: '一键登录失败,是否使用短信验证码登录?',