Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qahome-diamond
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
QA
qahome-diamond
Commits
2679e0d8
Commit
2679e0d8
authored
May 29, 2019
by
智勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
默认路由
parent
44f508f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
index.js
src/router/index.js
+3
-3
No files found.
src/router/index.js
View file @
2679e0d8
...
@@ -115,7 +115,7 @@ export default new Router({
...
@@ -115,7 +115,7 @@ export default new Router({
export
const
asyncRouterMap
=
[
export
const
asyncRouterMap
=
[
{
{
path
:
'
/indexlist
'
,
path
:
''
,
component
:
Layout
,
component
:
Layout
,
redirect
:
'
indexlist
'
,
redirect
:
'
indexlist
'
,
meta
:
{
meta
:
{
...
@@ -124,13 +124,13 @@ export const asyncRouterMap = [
...
@@ -124,13 +124,13 @@ export const asyncRouterMap = [
},
},
children
:
[
children
:
[
{
{
path
:
'
list
'
,
path
:
'
/index
list
'
,
component
:
()
=>
import
(
'
@/views/index/index
'
),
component
:
()
=>
import
(
'
@/views/index/index
'
),
name
:
'
indexList
'
,
name
:
'
indexList
'
,
meta
:
{
title
:
'
indexList
'
}
meta
:
{
title
:
'
indexList
'
}
},
},
{
{
path
:
'
manager
'
,
path
:
'
/indexlist/
manager
'
,
component
:
()
=>
import
(
'
@/views/index/manager
'
),
component
:
()
=>
import
(
'
@/views/index/manager
'
),
name
:
'
manager
'
,
name
:
'
manager
'
,
meta
:
{
title
:
'
导航页面管理
'
,
roles
:
[
'
admin
'
]
}
meta
:
{
title
:
'
导航页面管理
'
,
roles
:
[
'
admin
'
]
}
...
...
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