fix(rbac): 修复角色授权用户菜单数据种子中的父子关系配置
- 为 roleAuthUser 菜单实体添加了正确的 ParentId系统管理
This commit is contained in:
@@ -465,7 +465,8 @@ namespace Yi.Framework.Rbac.SqlSugarCore.DataSeeds
|
|||||||
Component = "system/role/authUser",
|
Component = "system/role/authUser",
|
||||||
MenuIcon = "tabler:user-shield",
|
MenuIcon = "tabler:user-shield",
|
||||||
OrderNum = 15,
|
OrderNum = 15,
|
||||||
IsDeleted = false
|
IsDeleted = false,
|
||||||
|
ParentId = system.Id
|
||||||
};
|
};
|
||||||
entities.Add(roleAuthUser);
|
entities.Add(roleAuthUser);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user