From b16f122e3af1452e1b1c8b739b683f24c54dea0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=97=B6=E5=90=AF=E9=BE=99?= Date: Fri, 30 Aug 2024 16:12:16 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=A2=9E=E5=8A=A0=E6=9C=AC=E5=9C=B0?= =?UTF-8?q?=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/modules/permission.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/store/modules/permission.js b/src/store/modules/permission.js index 80b0f5b..f7e693f 100644 --- a/src/store/modules/permission.js +++ b/src/store/modules/permission.js @@ -148,7 +148,9 @@ const actions = { dispatch('tagsView/delAllViews', null, { root: true }) removeToken() removeTrxToken() - // if (redirectToLogin) window.location.href = '/login' + if (window.testUkey !== true) { + if (redirectToLogin) window.location.href = '/login' + } resolve() } // 调用天融信单点退出系统