|
@@ -123,7 +123,8 @@ export default {
|
|
|
if (res == 1) {
|
|
|
console.log('用户已授权')
|
|
|
this.GetWxAuthorize()
|
|
|
-
|
|
|
+ }else{
|
|
|
+ this.isRequest = true
|
|
|
}
|
|
|
})
|
|
|
},
|
|
@@ -142,13 +143,13 @@ export default {
|
|
|
this.organizeId = res.data.organizeId
|
|
|
this.getUserInfoPersonal(this.organizeId)
|
|
|
this.refresh = true
|
|
|
- this.isRequest = true;
|
|
|
+ this.isRequest = true
|
|
|
}).catch(err=>{
|
|
|
// 缓存游客openid
|
|
|
uni.setStorageSync('openid',err.data.openid)
|
|
|
this.logout()
|
|
|
this.refresh = true
|
|
|
- this.isRequest = true;
|
|
|
+ this.isRequest = true
|
|
|
})
|
|
|
},
|
|
|
//初始化个人中心数据
|