update 优化 菜单勾选栏改为左菜单右按钮结构 增加禁用与隐藏图标

This commit is contained in:
疯狂的狮子Li
2026-04-17 12:08:51 +08:00
parent f269c003da
commit 2d13215304
3 changed files with 475 additions and 106 deletions
+5 -1
View File
@@ -9,13 +9,15 @@ export interface MenuTreeOption {
parentId: string | number;
weight: number;
menuType?: MenuTypeEnum | string;
visible?: string;
status?: string;
disabled?: boolean;
children?: MenuTreeOption[];
}
export interface RoleMenuTree {
menus: MenuTreeOption[];
checkedKeys: Array<string | number>;
buttonsMap: Record<string, RoleMenuButtonOption[]>;
}
/**
@@ -26,6 +28,8 @@ export interface RoleMenuButtonOption {
menuName: string;
parentId: string | number;
perms?: string;
status?: string;
disabled?: boolean;
}
/**