diff --git a/web/client/src/sections/resourceConsumption/nav-item.js b/web/client/src/sections/resourceConsumption/nav-item.js index 7a5df5c..76c8baa 100644 --- a/web/client/src/sections/resourceConsumption/nav-item.js +++ b/web/client/src/sections/resourceConsumption/nav-item.js @@ -4,13 +4,13 @@ import { Menu } from 'antd'; import { CarryOutOutlined } from '@ant-design/icons'; const SubMenu = Menu.SubMenu; -export function getNavItem (user) { +export function getNavItem(user) { return ( } title='资源消费'> {user?.role == '系统管理员' && 数据消费审批 } - {user?.role == '数据消费者' && + { 我的申请 }