Commit 29bfb064 by 高淑倩

未登录_removeStorageSync

parent 752187f0
......@@ -59,7 +59,8 @@ class WXService extends Http {
this.setPageLoadStatus()
wx.hideLoading()
}).catch(res => {
// if (res.msg && res.msg.indexOf('未登录') > -1) {
if (res.msg && res.msg.indexOf('未登录') > -1) {
wx.removeStorageSync('_baseUserInfo')
// if (!this.getUserInfoLimitCount) {
// this.getUserInfoLimitCount = 1
// } else {
......@@ -80,7 +81,7 @@ class WXService extends Http {
// return false
// }
// }
// } else
} else
if (res.msg && res.msg.indexOf('请重新授权') > -1) {
wx.setStorageSync('reLoginErr', true)
wxService.router(`/pages/userCenter/userCenter`).back()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment