|
@@ -22,7 +22,6 @@ const router = createRouter({
|
|
|
})
|
|
|
|
|
|
const vueFile = import.meta.glob('../views/**/*.{vue,tsx}');
|
|
|
-vueFile.EmptyRouter = import.meta.glob('../layout/EmptyRouter.vue')['../layout/EmptyRouter.vue']
|
|
|
vueFile.Layout = import.meta.glob('../layout/index.vue')['../layout/index.vue']
|
|
|
|
|
|
let asyncFinished = false
|
|
@@ -174,7 +173,6 @@ function recurseChildren(parentPath: string, menus: IntergrationMenu[]) {
|
|
|
})
|
|
|
}
|
|
|
|
|
|
-
|
|
|
router.beforeEach(async (to, _from, next) => {
|
|
|
NProgress.start();
|
|
|
const hasToken = stringNotBlank(localStorage.token)
|