From db1ee6f43165638194418014080d3e9ea7525d40 Mon Sep 17 00:00:00 2001 From: CaptainB Date: Fri, 2 Dec 2022 14:20:07 +0800 Subject: [PATCH] =?UTF-8?q?revert:=20=E6=81=A2=E5=A4=8D=E8=AF=AF=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E7=9A=84=E5=89=8D=E7=AB=AF=E6=B8=85=E7=90=86=E9=80=BB?= =?UTF-8?q?=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- framework/sdk-parent/frontend/src/store/modules/user.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/framework/sdk-parent/frontend/src/store/modules/user.js b/framework/sdk-parent/frontend/src/store/modules/user.js index c30ae8899e..26cadda794 100644 --- a/framework/sdk-parent/frontend/src/store/modules/user.js +++ b/framework/sdk-parent/frontend/src/store/modules/user.js @@ -89,6 +89,8 @@ export default { if (res && res.code === 'ECONNABORTED') { return; } + // 后台直接删除redis中的token,前端也需要删除 + clearSessionStorage() reject(res) }) });