shish 4 лет назад
Родитель
Сommit
eaeae03133
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      ghsApp/src/admin/home/login.vue

+ 3 - 3
ghsApp/src/admin/home/login.vue

@@ -187,7 +187,7 @@ export default {
 				return false				
 			}
 
-			//uni.showLoading({mask:true})
+			uni.showLoading({mask:true})
 			uni.preLogin({
 				provider: 'univerify',
 				success:()=>{
@@ -207,7 +207,7 @@ export default {
 							let access_token = res.authResult.access_token
 							phoneLogin({openid,access_token}).then(subRes=>{
 								let token = subRes.data.token || ''
-								//uni.hideLoading()
+								uni.hideLoading()
 								if (that.$util.isEmpty(token)) {
 									that.$msg('请先注册')
 									return false
@@ -249,7 +249,7 @@ export default {
 							console.log(res)
 						},
 						complete: (res) => {
-							//uni.hideLoading()
+							uni.hideLoading()
 							uni.closeAuthView()
 						}
 					})