Commit 939eebf8 by daqian

modify: router_back

parent 90c10a27
......@@ -80,7 +80,6 @@ class WXService extends Http {
// }
// }
console.log('--mmmmm--',res.msg)
if (res.msg && res.msg.indexOf('未登录') > -1) {
if (!this.getUserInfoLimitCount) {
this.getUserInfoLimitCount = 1
......@@ -95,15 +94,14 @@ class WXService extends Http {
duration: 2000
})
} else {
console.log('===重新=', this.getUserInfoLimitCount)
this.reLogin()
}
return false
} else if(res.msg && res.msg.indexOf('请重新授权') > -1) {
wx.setStorageSync('reLoginErr', true)
wxService.router(`/pages/userCenter/userCenter`).replace()
// wxService.router(`/pages/userCenter/userCenter`).replace()
console.log("授权跳转")
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