This commit is contained in:
zlwu committed 2026-05-12 22:07:53 +08:00
1 parent c87732fcd5
commit 058811ae77
107 files changed
+16983 -12758

No files matched your search

+2 -2
View File
@@ -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'
}
/**