From c1187383b6e23b402672103b485d4db99ed3ecd4 Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Sat, 3 Aug 2024 10:09:16 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=B3=BB=E7=BB=9F=E5=BC=95=E5=AF=BC?= =?UTF-8?q?=E8=B7=B3=E8=BD=AC=E4=B8=8D=E9=87=8D=E5=A4=8D=E5=BC=95=E5=AF=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/router/index.ts b/src/router/index.ts index 3dd384e4..e01ce1e9 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -170,6 +170,10 @@ router.beforeEach(async (to, from, next) => { if (appStore.bootloader && to.path !== '/quick-start') { next({ name: 'QuickStart' }); } + // 不重复引导 + if (!appStore.bootloader && to.path === '/quick-start') { + next({ name: 'Index' }); + } const token = getToken();