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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user