Commit 30880d7a by 前端

Merge branch 'zq_dev_3.0' into 'v3.0'

清掉缓存

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