From 45940bc1d326a871fff77015a8a0c7121172b17d Mon Sep 17 00:00:00 2001 From: wangxiang <1827945911@qq.com> Date: Fri, 15 Apr 2022 22:00:07 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=9F=20=E7=94=A8=E6=88=B7=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E6=8C=81=E4=B9=85=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kicc-ui/src/store/modules/user.ts | 1 - kicc-ui/src/utils/http/axios/checkStatus.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/kicc-ui/src/store/modules/user.ts b/kicc-ui/src/store/modules/user.ts index 9df51080..b14661a0 100644 --- a/kicc-ui/src/store/modules/user.ts +++ b/kicc-ui/src/store/modules/user.ts @@ -142,7 +142,6 @@ export const useUserStore = defineStore({ } catch { console.log('注销Token失败'); } - debugger this.setAccessToken(''); this.setRefreshToken(''); this.setSessionTimeout(false); diff --git a/kicc-ui/src/utils/http/axios/checkStatus.ts b/kicc-ui/src/utils/http/axios/checkStatus.ts index 2ba12101..0d4df929 100644 --- a/kicc-ui/src/utils/http/axios/checkStatus.ts +++ b/kicc-ui/src/utils/http/axios/checkStatus.ts @@ -31,7 +31,6 @@ export function checkStatus(status: number, msg: string, errorMessageMode: Error case 401: errMessage = t('sys.api.errMsg401'); if (stp === SessionTimeoutProcessingEnum.PAGE_COVERAGE) { - debugger userStore.setAccessToken(''); userStore.setRefreshToken(''); userStore.setSessionTimeout(true);