mod: 美化404页面

This commit is contained in:
zhangchuanlong
2022-02-25 14:08:17 +08:00
parent c761501855
commit b5fde56177
4 changed files with 48 additions and 3 deletions

View File

@@ -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: [
{