From 48187b508d31ed873efeb2b852ba13a857470461 Mon Sep 17 00:00:00 2001 From: ssongliu <73214554+ssongliu@users.noreply.github.com> Date: Thu, 25 Jan 2024 18:17:26 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=E7=99=BB=E9=99=86?= =?UTF-8?q?=E7=8A=B6=E6=80=81=E4=B8=8B=E8=B7=B3=E8=BD=AC=E5=AE=89=E5=85=A8?= =?UTF-8?q?=E5=85=A5=E5=8F=A3=E7=9A=84=E9=97=AE=E9=A2=98=20(#3702)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/routers/index.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/frontend/src/routers/index.ts b/frontend/src/routers/index.ts index d8c5b1b7b..40d852026 100644 --- a/frontend/src/routers/index.ts +++ b/frontend/src/routers/index.ts @@ -15,10 +15,8 @@ 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 }, + name: 'home', }); NProgress.done(); return;