|
@@ -124,14 +124,19 @@ const remainingRouter = [
|
|
}
|
|
}
|
|
]
|
|
]
|
|
},
|
|
},
|
|
- // {
|
|
|
|
- // path: '/404',
|
|
|
|
- // name: '404Page',
|
|
|
|
- // component: () => import('@/views/404/index.vue'),
|
|
|
|
- // meta: {
|
|
|
|
- // title: '404'
|
|
|
|
- // }
|
|
|
|
- // },
|
|
|
|
|
|
+ {
|
|
|
|
+ path: '/404',
|
|
|
|
+ name: '404Page',
|
|
|
|
+ component: () => import('@/views/404/index.vue'),
|
|
|
|
+ meta: {
|
|
|
|
+ title: '404'
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: '/:path(.*)*',
|
|
|
|
+ redirect: '/404',
|
|
|
|
+ name: '404PageRedirect',
|
|
|
|
+ },
|
|
// {
|
|
// {
|
|
// path: '/:catchAll(.*)',
|
|
// path: '/:catchAll(.*)',
|
|
// redirect: '/404'
|
|
// redirect: '/404'
|