diff --git a/store/modules/app.js b/store/modules/app.js index bb3aab9..122f992 100644 --- a/store/modules/app.js +++ b/store/modules/app.js @@ -33,6 +33,8 @@ const mutations = { state.token = null; Cache.clear('USER_INFO') Cache.clear('TOKEN') + + uni.clearStorageSync() }, UPDATE_USERINFO(state, data) { let time = res.data.result.expires_time - Cache.time();