From df37262b5de320357e92695b0e7ca8cdcf21ebf3 Mon Sep 17 00:00:00 2001 From: jia <1451658316@qq.com> Date: Sat, 25 Nov 2023 15:38:41 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E9=80=80=E5=87=BA=E6=B8=85?= =?UTF-8?q?=E9=99=A4token?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- store/modules/app.js | 2 ++ 1 file changed, 2 insertions(+) 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();