首页 / 和 /index
This commit is contained in:
@@ -6,6 +6,11 @@ Vue.use(Router)
|
||||
export default new Router({
|
||||
mode:'hash',
|
||||
routes: [
|
||||
{
|
||||
path: '/index',
|
||||
name: 'index',
|
||||
component: () => import('../views')
|
||||
},
|
||||
{
|
||||
path: '/',
|
||||
name: 'index',
|
||||
|
||||
Reference in New Issue
Block a user