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