Skip to content

Commit 59e43fd

Browse files
committed
增加路由,默认访问list
1 parent da8a609 commit 59e43fd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/router/index.js

+5
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ Vue.use(Router)
66

77
export default new Router({
88
routes: [
9+
{
10+
path:'/',
11+
name:'list',
12+
component: list
13+
},
914
{
1015
path:'/list',
1116
name:'list',

0 commit comments

Comments
 (0)