From 6374d669003cd493eb2d0fadf7a14afe9a0833a8 Mon Sep 17 00:00:00 2001 From: woody Date: Mon, 25 Aug 2025 09:24:03 +0800 Subject: [PATCH] =?UTF-8?q?fix(logout):=20=E7=99=BB=E5=87=BA=E6=B8=85?= =?UTF-8?q?=E7=90=86=E7=BC=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- store/modules/user.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/store/modules/user.js b/store/modules/user.js index 1df2fb1..0fe540b 100644 --- a/store/modules/user.js +++ b/store/modules/user.js @@ -52,6 +52,8 @@ const actions = { logout(state.token) .then(() => { removeToken() + commit('SET_USER', null) + uni.removeStorageSync('User') resolve() }) .catch(error => {