Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivManage
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ReactWeb5
CivManage
Commits
c8f6789f
Commit
c8f6789f
authored
Nov 23, 2020
by
陈前坚
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf: 角色菜单分组图标区分
parent
79a8bb89
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
2 deletions
+12
-2
UserManage.less
src/pages/userCenter/UserManage.less
+1
-1
RoleManage.jsx
src/pages/userCenter/roleManage/RoleManage.jsx
+6
-1
RoleManage.less
src/pages/userCenter/roleManage/RoleManage.less
+5
-0
No files found.
src/pages/userCenter/UserManage.less
View file @
c8f6789f
...
...
@@ -27,7 +27,7 @@
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
display: block;
//
display: block;
}
}
.ant-pagination-prev,.ant-pagination-next{
...
...
src/pages/userCenter/roleManage/RoleManage.jsx
View file @
c8f6789f
...
...
@@ -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
;
...
...
src/pages/userCenter/roleManage/RoleManage.less
View file @
c8f6789f
...
...
@@ -53,3 +53,8 @@
transform: translate(0%,-50%);
z-index: 2;
}
.anticon-unordered-list{
vertical-align: 0.125em;
color:#1890FF;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment