fix: 系统引导跳转不重复引导
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user