Commit c8f6789f authored by 陈前坚's avatar 陈前坚

perf: 角色菜单分组图标区分

parent 79a8bb89
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
display: block; // display: block;
} }
} }
.ant-pagination-prev,.ant-pagination-next{ .ant-pagination-prev,.ant-pagination-next{
......
...@@ -12,7 +12,11 @@ import { ...@@ -12,7 +12,11 @@ import {
Space, Space,
} from 'antd'; } from 'antd';
import PageContainer from '@/components/BasePageContainer'; import PageContainer from '@/components/BasePageContainer';
import { DoubleLeftOutlined, DoubleRightOutlined } from '@ant-design/icons'; import {
DoubleLeftOutlined,
DoubleRightOutlined,
UnorderedListOutlined,
} from '@ant-design/icons';
import { import {
setMenuToRole, setMenuToRole,
getRoleGroupList, getRoleGroupList,
...@@ -199,6 +203,7 @@ const SiteManage = () => { ...@@ -199,6 +203,7 @@ const SiteManage = () => {
itemRole.title = itemRole.visibleTitle || ''; itemRole.title = itemRole.visibleTitle || '';
itemRole.key = itemRole.visibleTitle + itemRole.visibleValue || ''; itemRole.key = itemRole.visibleTitle + itemRole.visibleValue || '';
itemRole.groupflag = itemRole.visibleTitle; itemRole.groupflag = itemRole.visibleTitle;
itemRole.icon = mulu ? <UnorderedListOutlined /> : '';
itemRole.roleList.map(i => { itemRole.roleList.map(i => {
i.title = i.roleName; i.title = i.roleName;
i.key = i.roleID; i.key = i.roleID;
......
...@@ -53,3 +53,8 @@ ...@@ -53,3 +53,8 @@
transform: translate(0%,-50%); transform: translate(0%,-50%);
z-index: 2; z-index: 2;
} }
.anticon-unordered-list{
vertical-align: 0.125em;
color:#1890FF;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment