Browse Source

(*)数据审批过滤掉SuperAdmin

master
peng.peng 1 year ago
parent
commit
1ec781fa4b
  1. 2
      web/client/src/sections/resourceConsumption/nav-item.js

2
web/client/src/sections/resourceConsumption/nav-item.js

@ -10,7 +10,7 @@ export function getNavItem(user) {
{user?.role == '系统管理员' && <Menu.Item key="approve">
<Link to="/resourceConsumption/approve">数据消费审批</Link>
</Menu.Item>}
{<Menu.Item key="myApplication">
{user?.username !== 'SuperAdmin' &&<Menu.Item key="myApplication">
<Link to="/resourceConsumption/myApplication">我的申请</Link>
</Menu.Item>}
</ SubMenu >

Loading…
Cancel
Save