Sign in
w-front-end
/
Worship_and_learn_upward
·
Commits
GitLab
Back to group
Project
Activity
Files
Commits
Network
Graphs
Milestones
Issues
0
Merge Requests
0
Labels
Wiki
Download as
Email Patches
Plain Diff
Browse Code »
Commit
4978840e04ec89a04b09a5c6c2f4677e880b2fd3
Authored by
zhiyangdu
2019-12-30 16:35:36 +0800
1 parent
92040f2c
默认加载index
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
src/router/index.js
src/router/index.js
View file @
4978840
@@ -28,6 +28,10 @@ const router = new Router({
@@ -28,6 +28,10 @@ const router = new Router({
28
}
28
}
29
}
29
}
30
]
30
]
31
+ },
32
+ {
33
+ path: "*",
34
+ redirect: "/index"
31
}
35
}
32
]
36
]
33
});
37
});