diff --git a/web/client/src/sections/dataQuality/nav-item.js b/web/client/src/sections/dataQuality/nav-item.js
index 81e4a5d..48ffdf2 100644
--- a/web/client/src/sections/dataQuality/nav-item.js
+++ b/web/client/src/sections/dataQuality/nav-item.js
@@ -4,9 +4,9 @@ import { Menu } from 'antd';
import { CarryOutOutlined } from '@ant-design/icons';
const SubMenu = Menu.SubMenu;
-export function getNavItem (user) {
+export function getNavItem(user) {
return (
- user?.role == '系统管理员' && } title='数据质量'>
+ user?.username == 'SuperAdmin' && } title='数据质量'>
标准文档库
diff --git a/web/client/src/sections/resourceConsumption/nav-item.js b/web/client/src/sections/resourceConsumption/nav-item.js
index 88cb49b..61b737e 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?.username !== 'SuperAdmin' &&
+ {user?.username !== 'SuperAdmin' &&
我的申请
}
SubMenu >
diff --git a/web/client/src/sections/safetySpecification/nav-item.js b/web/client/src/sections/safetySpecification/nav-item.js
index f19424e..0be04ab 100644
--- a/web/client/src/sections/safetySpecification/nav-item.js
+++ b/web/client/src/sections/safetySpecification/nav-item.js
@@ -4,9 +4,9 @@ import { Menu } from 'antd';
import { CarryOutOutlined } from '@ant-design/icons';
const SubMenu = Menu.SubMenu;
-export function getNavItem (user) {
+export function getNavItem(user) {
return (
- user?.role == '系统管理员' && } title='数据安全规范'>
+ user?.username == 'SuperAdmin' && } title='数据安全规范'>
数据安全规范库