Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
V
vue-demo
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Amy Yang
vue-demo
Commits
fbd90a6e
Commit
fbd90a6e
authored
Mar 22, 2022
by
Amy Yang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交代码
parent
a36aaff6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
+12
-4
index.js
vue-antd-demo/src/router/index.js
+12
-4
No files found.
vue-antd-demo/src/router/index.js
View file @
fbd90a6e
import
Vue
from
"vue"
;
import
Vue
from
"vue"
;
import
VueRouter
from
"vue-router"
;
import
VueRouter
from
"vue-router"
;
import
system
from
"./system"
;
Vue
.
use
(
VueRouter
);
Vue
.
use
(
VueRouter
);
...
@@ -21,10 +20,19 @@ const routes = [
...
@@ -21,10 +20,19 @@ const routes = [
component
:
()
=>
import
(
"../views/map/Map.vue"
)
component
:
()
=>
import
(
"../views/map/Map.vue"
)
},
},
{
{
path
:
"/
index
"
,
path
:
"/
system
"
,
name
:
"
Index
"
,
name
:
"
System
"
,
component
:
()
=>
import
(
"../views/layouts/AppLayout.vue"
),
component
:
()
=>
import
(
"../views/layouts/AppLayout.vue"
),
children
:
[
system
]
children
:
[
{
path
:
"user"
,
name
:
"User"
,
component
:
()
=>
import
(
"../views/sys-user/SysUser.vue"
),
meta
:
{
icon
:
""
}
}
]
}
}
];
];
...
...
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