Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
ant-design-pro
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
duanledexianxianxian
ant-design-pro
Commits
9a3d41cc
Commit
9a3d41cc
authored
Sep 05, 2017
by
afc163
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change menu icons
parent
6efdab5a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
28 deletions
+7
-28
src/common/nav.js
src/common/nav.js
+7
-28
No files found.
src/common/nav.js
View file @
9a3d41cc
...
@@ -44,60 +44,52 @@ function userAdapter(userData) {
...
@@ -44,60 +44,52 @@ function userAdapter(userData) {
export
const
user
=
[{
export
const
user
=
[{
name
:
'
εΈζ·
'
,
name
:
'
εΈζ·
'
,
icon
:
'
setting
'
,
icon
:
'
user
'
,
path
:
'
user
'
,
path
:
'
user
'
,
children
:
[{
children
:
[{
name
:
'
η»ε½
'
,
name
:
'
η»ε½
'
,
path
:
'
login
'
,
path
:
'
login
'
,
component
:
Login
,
component
:
Login
,
icon
:
'
setting
'
,
},
{
},
{
name
:
'
注ε
'
,
name
:
'
注ε
'
,
path
:
'
register
'
,
path
:
'
register
'
,
component
:
Register
,
component
:
Register
,
icon
:
'
setting
'
,
},
{
},
{
name
:
'
注εη»ζ
'
,
name
:
'
注εη»ζ
'
,
path
:
'
register-result
'
,
path
:
'
register-result
'
,
component
:
RegisterResult
,
component
:
RegisterResult
,
icon
:
'
setting
'
,
}],
}],
}];
}];
export
const
menus
=
[{
export
const
menus
=
[{
name
:
'
Dashboard
'
,
name
:
'
Dashboard
'
,
icon
:
'
setting
'
,
icon
:
'
dashboard
'
,
path
:
'
dashboard
'
,
path
:
'
dashboard
'
,
children
:
[{
children
:
[{
name
:
'
εζι‘΅
'
,
name
:
'
εζι‘΅
'
,
path
:
'
analysis
'
,
path
:
'
analysis
'
,
component
:
Analysis
,
component
:
Analysis
,
icon
:
'
setting
'
,
},
{
},
{
name
:
'
ηζ§ι‘΅
'
,
name
:
'
ηζ§ι‘΅
'
,
path
:
'
monitor
'
,
path
:
'
monitor
'
,
component
:
Monitor
,
component
:
Monitor
,
icon
:
'
setting
'
,
},
{
},
{
name
:
'
ε·₯δ½ε°
'
,
name
:
'
ε·₯δ½ε°
'
,
path
:
'
workplace
'
,
path
:
'
workplace
'
,
component
:
Workplace
,
component
:
Workplace
,
icon
:
'
setting
'
,
}],
}],
},
{
},
{
name
:
'
葨ει‘΅
'
,
name
:
'
葨ει‘΅
'
,
path
:
'
form
'
,
path
:
'
form
'
,
icon
:
'
setting
'
,
icon
:
'
form
'
,
children
:
[{
children
:
[{
name
:
'
εΊη‘葨ε
'
,
name
:
'
εΊη‘葨ε
'
,
path
:
'
basic-form
'
,
path
:
'
basic-form
'
,
component
:
BasicForm
,
component
:
BasicForm
,
icon
:
'
setting
'
,
},
{
},
{
name
:
'
εζ₯葨ε
'
,
name
:
'
εζ₯葨ε
'
,
path
:
'
step-form
'
,
path
:
'
step-form
'
,
component
:
StepForm
,
component
:
StepForm
,
icon
:
'
setting
'
,
children
:
[{
children
:
[{
path
:
'
confirm
'
,
path
:
'
confirm
'
,
component
:
Step2
,
component
:
Step2
,
...
@@ -109,86 +101,73 @@ export const menus = [{
...
@@ -109,86 +101,73 @@ export const menus = [{
name
:
'
ι«ηΊ§θ‘¨ε
'
,
name
:
'
ι«ηΊ§θ‘¨ε
'
,
path
:
'
advanced-form
'
,
path
:
'
advanced-form
'
,
component
:
AdvancedForm
,
component
:
AdvancedForm
,
icon
:
'
setting
'
,
}],
}],
},
{
},
{
name
:
'
ε葨鑡
'
,
name
:
'
ε葨鑡
'
,
path
:
'
list
'
,
path
:
'
list
'
,
icon
:
'
setting
'
,
icon
:
'
table
'
,
children
:
[{
children
:
[{
name
:
'
ζ εθ‘¨ζ ΌοΌθ‘¨ζ Όζ₯θ―’οΌ
'
,
name
:
'
ζ εθ‘¨ζ ΌοΌθ‘¨ζ Όζ₯θ―’οΌ
'
,
path
:
'
table-list
'
,
path
:
'
table-list
'
,
component
:
TableList
,
component
:
TableList
,
icon
:
'
setting
'
,
},
{
},
{
name
:
'
ζ εε葨
'
,
name
:
'
ζ εε葨
'
,
path
:
'
basic-list
'
,
path
:
'
basic-list
'
,
component
:
BasicList
,
component
:
BasicList
,
icon
:
'
setting
'
,
},
{
},
{
name
:
'
ε‘ηε葨
'
,
name
:
'
ε‘ηε葨
'
,
path
:
'
card-list
'
,
path
:
'
card-list
'
,
component
:
CardList
,
component
:
CardList
,
icon
:
'
setting
'
,
},
{
},
{
name
:
'
ε‘ηε葨οΌε°ι’οΌ
'
,
name
:
'
ε‘ηε葨οΌε°ι’οΌ
'
,
path
:
'
cover-card-list
'
,
path
:
'
cover-card-list
'
,
component
:
CoverCardList
,
component
:
CoverCardList
,
icon
:
'
setting
'
,
},
{
},
{
name
:
'
εΈ¦ηιε‘ηε葨
'
,
name
:
'
εΈ¦ηιε‘ηε葨
'
,
path
:
'
filter-card-list
'
,
path
:
'
filter-card-list
'
,
component
:
FilterCardList
,
component
:
FilterCardList
,
icon
:
'
setting
'
,
},
{
},
{
name
:
'
ζη΄’ε葨
'
,
name
:
'
ζη΄’ε葨
'
,
path
:
'
search
'
,
path
:
'
search
'
,
component
:
SearchList
,
component
:
SearchList
,
icon
:
'
setting
'
,
}],
}],
},
{
},
{
name
:
'
θ―¦ζ ι‘΅
'
,
name
:
'
θ―¦ζ ι‘΅
'
,
path
:
'
profile
'
,
path
:
'
profile
'
,
component
:
Profile
,
component
:
Profile
,
icon
:
'
setting
'
,
icon
:
'
profile
'
,
},
{
},
{
name
:
'
η»ζ
'
,
name
:
'
η»ζ
'
,
path
:
'
result
'
,
path
:
'
result
'
,
icon
:
'
setting
'
,
icon
:
'
check-circle-o
'
,
children
:
[{
children
:
[{
name
:
'
ζε
'
,
name
:
'
ζε
'
,
path
:
'
success
'
,
path
:
'
success
'
,
component
:
Success
,
component
:
Success
,
icon
:
'
setting
'
,
},
{
},
{
name
:
'
ε€±θ΄₯
'
,
name
:
'
ε€±θ΄₯
'
,
path
:
'
fail
'
,
path
:
'
fail
'
,
component
:
Error
,
component
:
Error
,
icon
:
'
setting
'
,
}],
}],
},
{
},
{
name
:
'
ιθ――
'
,
name
:
'
ιθ――
'
,
path
:
'
error
'
,
path
:
'
error
'
,
icon
:
'
sett
ing
'
,
icon
:
'
warn
ing
'
,
children
:
[{
children
:
[{
name
:
'
403
'
,
name
:
'
403
'
,
path
:
'
403
'
,
path
:
'
403
'
,
component
:
Exception403
,
component
:
Exception403
,
icon
:
'
setting
'
,
},
{
},
{
name
:
'
404
'
,
name
:
'
404
'
,
path
:
'
404
'
,
path
:
'
404
'
,
component
:
Exception404
,
component
:
Exception404
,
icon
:
'
setting
'
,
},
{
},
{
name
:
'
500
'
,
name
:
'
500
'
,
path
:
'
500
'
,
path
:
'
500
'
,
component
:
Exception500
,
component
:
Exception500
,
icon
:
'
setting
'
,
}],
}],
},
userAdapter
(
JSON
.
parse
(
JSON
.
stringify
(
user
[
0
])))];
},
userAdapter
(
JSON
.
parse
(
JSON
.
stringify
(
user
[
0
])))];
export
default
[{
export
default
[{
component
:
BasicLayout
,
component
:
BasicLayout
,
name
:
'
ι¦ι‘΅
'
,
name
:
'
ι¦ι‘΅
'
,
...
...
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