1
0
mirror of https://github.com/zclzone/vue-naive-admin.git synced 2026-01-09 09:40:21 +08:00

style: lint

This commit is contained in:
zclzone
2024-06-06 18:05:36 +08:00
parent 98f9d5893a
commit a67510fe34
72 changed files with 542 additions and 389 deletions

View File

@@ -12,7 +12,8 @@ export const EXCLUDE_TAB = ['/404', '/403', '/login']
export function createTabGuard(router) {
router.afterEach((to) => {
if (EXCLUDE_TAB.includes(to.path)) return
if (EXCLUDE_TAB.includes(to.path))
return
const tabStore = useTabStore()
const { name, fullPath: path } = to
const title = to.meta?.title