添加日志管理动态多级菜单

This commit is contained in:
橙子
2022-10-01 15:04:35 +08:00
parent 40dddb3316
commit 8f0327604f
4 changed files with 115 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ const whiteList = ['/login', '/auth-redirect', '/bind', '/register'];
router.beforeEach((to, from, next) => {
NProgress.start()
console.log(router.getRoutes() ,"123")
if (getToken()) {
to.meta.title && useSettingsStore().setTitle(to.meta.title)
/* has token*/