|
|
@@ -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()
|
|
|
}
|
|
|
})
|