From d5bff6473ecc2b4f6e28472d505510948fe7785a Mon Sep 17 00:00:00 2001 From: ssongliu <73214554+ssongliu@users.noreply.github.com> Date: Wed, 10 May 2023 23:28:18 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=E5=AE=89=E5=85=A8?= =?UTF-8?q?=E5=85=A5=E5=8F=A3=E8=B7=B3=E8=BD=AC=E5=A4=B1=E8=B4=A5=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98=20(#995)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/system-upgrade/index.vue | 1 - frontend/src/routers/index.ts | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/system-upgrade/index.vue b/frontend/src/components/system-upgrade/index.vue index f923f16ed..587b2b7ff 100644 --- a/frontend/src/components/system-upgrade/index.vue +++ b/frontend/src/components/system-upgrade/index.vue @@ -139,7 +139,6 @@ const onUpgrade = async () => { type: 'info', }).then(async () => { globalStore.isLoading = true; - globalStore.setLogStatus(false); await upgrade(upgradeVersion.value); drawerVisiable.value = false; MsgSuccess(i18n.global.t('commons.msg.operationSuccess')); diff --git a/frontend/src/routers/index.ts b/frontend/src/routers/index.ts index 72e04a2ec..a49e4697c 100644 --- a/frontend/src/routers/index.ts +++ b/frontend/src/routers/index.ts @@ -15,6 +15,7 @@ router.beforeEach((to, from, next) => { if (to.name === 'entrance' && globalStore.isLogin) { if (to.params.code === globalStore.entrance) { + globalStore.setLogStatus(false); next({ name: 'entrance', params: { code: globalStore.entrance },