fix: 去除开站引导

This commit is contained in:
TsMask
2025-04-09 15:16:05 +08:00
parent ccfee93a91
commit efec69eb28
3 changed files with 20 additions and 20 deletions

View File

@@ -173,14 +173,14 @@ router.beforeEach(async (to, from, next) => {
await appStore.fnSysConf();
}
// 需要系统引导跳转
if (appStore.bootloader && to.path !== '/quick-start') {
next({ name: 'QuickStart' });
}
// 不重复引导
if (!appStore.bootloader && to.path === '/quick-start') {
next({ name: 'Index' });
}
// // 需要系统引导跳转
// if (appStore.bootloader && to.path !== '/quick-start') {
// next({ name: 'QuickStart' });
// }
// // 不重复引导
// if (!appStore.bootloader && to.path === '/quick-start') {
// next({ name: 'Index' });
// }
let token = getToken();