Commit 471ba7b1 by zhangquan

清掉缓存

1 parent 0670e17d
......@@ -53,6 +53,8 @@ class Request {
data
} = response
if (code == 20 || code == 21) {
wx.$storage.rm('sessionId')
wx.$storage.rm('userInfo')
const thisPage = wx.$router.getPageInstance()
if(thisPage.route == 'pages/authentication/loading/loading') {
resolve(data)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!