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();