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
P
pro-blocks
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
pro-blocks
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) {
export
const
user
=
[{
name
:
'
帐户
'
,
icon
:
'
setting
'
,
icon
:
'
user
'
,
path
:
'
user
'
,
children
:
[{
name
:
'
登录
'
,
path
:
'
login
'
,
component
:
Login
,
icon
:
'
setting
'
,
},
{
name
:
'
注册
'
,
path
:
'
register
'
,
component
:
Register
,
icon
:
'
setting
'
,
},
{
name
:
'
注册结果
'
,
path
:
'
register-result
'
,
component
:
RegisterResult
,
icon
:
'
setting
'
,
}],
}];
export
const
menus
=
[{
name
:
'
Dashboard
'
,
icon
:
'
setting
'
,
icon
:
'
dashboard
'
,
path
:
'
dashboard
'
,
children
:
[{
name
:
'
分析页
'
,
path
:
'
analysis
'
,
component
:
Analysis
,
icon
:
'
setting
'
,
},
{
name
:
'
监控页
'
,
path
:
'
monitor
'
,
component
:
Monitor
,
icon
:
'
setting
'
,
},
{
name
:
'
工作台
'
,
path
:
'
workplace
'
,
component
:
Workplace
,
icon
:
'
setting
'
,
}],
},
{
name
:
'
表单页
'
,
path
:
'
form
'
,
icon
:
'
setting
'
,
icon
:
'
form
'
,
children
:
[{
name
:
'
基础表单
'
,
path
:
'
basic-form
'
,
component
:
BasicForm
,
icon
:
'
setting
'
,
},
{
name
:
'
分步表单
'
,
path
:
'
step-form
'
,
component
:
StepForm
,
icon
:
'
setting
'
,
children
:
[{
path
:
'
confirm
'
,
component
:
Step2
,
...
...
@@ -109,86 +101,73 @@ export const menus = [{
name
:
'
高级表单
'
,
path
:
'
advanced-form
'
,
component
:
AdvancedForm
,
icon
:
'
setting
'
,
}],
},
{
name
:
'
列表页
'
,
path
:
'
list
'
,
icon
:
'
setting
'
,
icon
:
'
table
'
,
children
:
[{
name
:
'
标准表格(表格查询)
'
,
path
:
'
table-list
'
,
component
:
TableList
,
icon
:
'
setting
'
,
},
{
name
:
'
标准列表
'
,
path
:
'
basic-list
'
,
component
:
BasicList
,
icon
:
'
setting
'
,
},
{
name
:
'
卡片列表
'
,
path
:
'
card-list
'
,
component
:
CardList
,
icon
:
'
setting
'
,
},
{
name
:
'
卡片列表(封面)
'
,
path
:
'
cover-card-list
'
,
component
:
CoverCardList
,
icon
:
'
setting
'
,
},
{
name
:
'
带筛选卡片列表
'
,
path
:
'
filter-card-list
'
,
component
:
FilterCardList
,
icon
:
'
setting
'
,
},
{
name
:
'
搜索列表
'
,
path
:
'
search
'
,
component
:
SearchList
,
icon
:
'
setting
'
,
}],
},
{
name
:
'
详情页
'
,
path
:
'
profile
'
,
component
:
Profile
,
icon
:
'
setting
'
,
icon
:
'
profile
'
,
},
{
name
:
'
结果
'
,
path
:
'
result
'
,
icon
:
'
setting
'
,
icon
:
'
check-circle-o
'
,
children
:
[{
name
:
'
成功
'
,
path
:
'
success
'
,
component
:
Success
,
icon
:
'
setting
'
,
},
{
name
:
'
失败
'
,
path
:
'
fail
'
,
component
:
Error
,
icon
:
'
setting
'
,
}],
},
{
name
:
'
错误
'
,
path
:
'
error
'
,
icon
:
'
sett
ing
'
,
icon
:
'
warn
ing
'
,
children
:
[{
name
:
'
403
'
,
path
:
'
403
'
,
component
:
Exception403
,
icon
:
'
setting
'
,
},
{
name
:
'
404
'
,
path
:
'
404
'
,
component
:
Exception404
,
icon
:
'
setting
'
,
},
{
name
:
'
500
'
,
path
:
'
500
'
,
component
:
Exception500
,
icon
:
'
setting
'
,
}],
},
userAdapter
(
JSON
.
parse
(
JSON
.
stringify
(
user
[
0
])))];
export
default
[{
component
:
BasicLayout
,
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