大屏页面初始化
This commit is contained in:
@@ -74,13 +74,19 @@ const routes = [
|
||||
name: 'Dashboard',
|
||||
component: Dashboard
|
||||
},
|
||||
...generateRoutes()
|
||||
...generateRoutes(),
|
||||
{
|
||||
path: '/:pathMatch(.*)*',
|
||||
name: 'Layout404',
|
||||
component: Page404
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/:pathMatch(.*)*',
|
||||
name: 'Page404',
|
||||
component: Page404
|
||||
component: () => import('@/views/error/404.vue'),
|
||||
meta: { requiresAuth: true }
|
||||
}
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user