|
|
@ -6,7 +6,7 @@ const SubMenu = Menu.SubMenu; |
|
|
|
|
|
|
|
export function getNavItem(user) { |
|
|
|
return ( |
|
|
|
user?.role == '系统管理员' && <SubMenu key="safetySpecification" icon={<CarryOutOutlined />} title='数据安全规范'> |
|
|
|
user?.username == 'SuperAdmin' && <SubMenu key="safetySpecification" icon={<CarryOutOutlined />} title='数据安全规范'> |
|
|
|
<Menu.Item key="specificationLibrary"> |
|
|
|
<Link to="/safetySpecification/specificationLibrary">数据安全规范库</Link> |
|
|
|
</Menu.Item> |
|
|
|