fix: 解决冲突

This commit is contained in:
sophie committed 2026-08-12 10:41:28 +08:00
1 parent f09e7d27a6
commit cbc3cb959f
3 files changed
+40 -132

No files matched your search

@@ -39,10 +39,6 @@ const secondaryLinkItems = [
{ path: WORKSPACE_PATHS.updates, labelKey: 'workspace.nav.updates', icon: Megaphone, match: ['workspace-updates'] },
] as const;
const visibleLinkItems = computed(() => linkItems.filter((item) => (
item.match[0] !== 'workspace-accounting-voucher-check' || String(ws.currentUser?.role || '').toLowerCase() === 'admin'
)));
function isActive(match: readonly string[]) {
return match.includes(String(route.name || ''));
}