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

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

parent 79a8bb89
......@@ -27,7 +27,7 @@
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
display: block;
// display: block;
}
}
.ant-pagination-prev,.ant-pagination-next{
......
......@@ -12,7 +12,11 @@ import {
Space,
} from 'antd';
import PageContainer from '@/components/BasePageContainer';
import { DoubleLeftOutlined, DoubleRightOutlined } from '@ant-design/icons';
import {
DoubleLeftOutlined,
DoubleRightOutlined,
UnorderedListOutlined,
} from '@ant-design/icons';
import {
setMenuToRole,
getRoleGroupList,
......@@ -199,6 +203,7 @@ const SiteManage = () => {
itemRole.title = itemRole.visibleTitle || '';
itemRole.key = itemRole.visibleTitle + itemRole.visibleValue || '';
itemRole.groupflag = itemRole.visibleTitle;
itemRole.icon = mulu ? <UnorderedListOutlined /> : '';
itemRole.roleList.map(i => {
i.title = i.roleName;
i.key = i.roleID;
......
......@@ -53,3 +53,8 @@
transform: translate(0%,-50%);
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