errorPage => error-page

This commit is contained in:
Pan 2019-04-10 17:59:32 +08:00
parent 042ffddf7c
commit 3baa2784a1
4 changed files with 8 additions and 8 deletions

View File

@ -24,12 +24,12 @@ export const constantRoutes = [
}, },
{ {
path: '/404', path: '/404',
component: 'views/errorPage/404', component: 'views/error-page/404',
hidden: true hidden: true
}, },
{ {
path: '/401', path: '/401',
component: 'views/errorPage/401', component: 'views/error-page/401',
hidden: true hidden: true
}, },
{ {
@ -370,13 +370,13 @@ export const asyncRoutes = [
children: [ children: [
{ {
path: '401', path: '401',
component: 'views/errorPage/401', component: 'views/error-page/401',
name: 'Page401', name: 'Page401',
meta: { title: 'page401', noCache: true } meta: { title: 'page401', noCache: true }
}, },
{ {
path: '404', path: '404',
component: 'views/errorPage/404', component: 'views/error-page/404',
name: 'Page404', name: 'Page404',
meta: { title: 'page404', noCache: true } meta: { title: 'page404', noCache: true }
} }

View File

@ -62,12 +62,12 @@ export const constantRoutes = [
}, },
{ {
path: '/404', path: '/404',
component: () => import('@/views/errorPage/404'), component: () => import('@/views/error-page/404'),
hidden: true hidden: true
}, },
{ {
path: '/401', path: '/401',
component: () => import('@/views/errorPage/401'), component: () => import('@/views/error-page/401'),
hidden: true hidden: true
}, },
{ {
@ -232,13 +232,13 @@ export const asyncRoutes = [
children: [ children: [
{ {
path: '401', path: '401',
component: () => import('@/views/errorPage/401'), component: () => import('@/views/error-page/401'),
name: 'Page401', name: 'Page401',
meta: { title: 'page401', noCache: true } meta: { title: 'page401', noCache: true }
}, },
{ {
path: '404', path: '404',
component: () => import('@/views/errorPage/404'), component: () => import('@/views/error-page/404'),
name: 'Page404', name: 'Page404',
meta: { title: 'page404', noCache: true } meta: { title: 'page404', noCache: true }
} }