20260804173126
This commit is contained in:
1 parent
e17bbe9db3
commit
75b1ccaa6d
36 files changed
+3521
-718
No files matched your search
@@ -15,7 +15,9 @@ const menuIcon = (icon) => () => h(icon, { size: 16, strokeWidth: 1.8 });
|
||||
|
||||
function buildFunctionMenu() {
|
||||
const nodes = permissionStore.functionNodes.filter(
|
||||
(item) => Number(item.b_canmenu) === 1 && permissionStore.canAccessFunctionNode(item.b_id),
|
||||
(item) =>
|
||||
(permissionStore.isSystemUser || Number(item.b_canmenu) === 1) &&
|
||||
permissionStore.canAccessFunctionNode(item.b_id),
|
||||
);
|
||||
const menuById = new Map();
|
||||
const roots = [];
|
||||
|
||||
Reference in new issue
Block a user