fix: 解决冲突
This commit is contained in:
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 || ''));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user