mod: 美化404页面
This commit is contained in:
@@ -51,6 +51,26 @@ export const basicRoutes = [
|
||||
],
|
||||
},
|
||||
|
||||
{
|
||||
name: 'ERROR-PAGE',
|
||||
path: '/error-page',
|
||||
component: Layout,
|
||||
redirect: '/error-page/404',
|
||||
meta: {
|
||||
title: '错误页',
|
||||
},
|
||||
children: [
|
||||
{
|
||||
name: 'ERROR-404',
|
||||
path: '404',
|
||||
component: () => import('@/views/error-page/404.vue'),
|
||||
meta: {
|
||||
title: '404',
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
{
|
||||
name: 'TEST',
|
||||
path: '/test',
|
||||
@@ -92,7 +112,7 @@ export const basicRoutes = [
|
||||
path: '/external-link',
|
||||
component: Layout,
|
||||
meta: {
|
||||
title: '外链',
|
||||
title: '外部链接',
|
||||
},
|
||||
children: [
|
||||
{
|
||||
|
Reference in New Issue
Block a user