提交
This commit is contained in:
1 parent
c87732fcd5
commit
058811ae77
107 files changed
+16983
-12758
No files matched your search
@@ -91,10 +91,10 @@ export const useWorktabStore = defineStore(
|
||||
|
||||
/**
|
||||
* 过滤不应展示在 worktab 中的父级占位路由。
|
||||
* `/dashboard` 仅用于承载与重定向,真实标签页应为 `/dashboard/console`。
|
||||
* `/demo` 仅用于承载与重定向,真实标签页为其子路由(如 `/demo/console`)。
|
||||
*/
|
||||
const shouldIgnoreTab = (tab: Partial<WorkTab>): boolean => {
|
||||
return tab.path === '/dashboard'
|
||||
return tab.path === '/demo' || tab.path === '/system'
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user