perf: error page

This commit is contained in:
xiaoxian521
2022-03-04 11:10:02 +08:00
parent 3701161022
commit a6e819e169
13 changed files with 55 additions and 322 deletions

View File

@@ -5,7 +5,7 @@ const errorRouter = {
path: "/error",
name: "error",
component: Layout,
redirect: "/error/401",
redirect: "/error/403",
meta: {
icon: "position",
title: $t("menus.hserror"),
@@ -14,9 +14,9 @@ const errorRouter = {
},
children: [
{
path: "/error/401",
name: "401",
component: () => import("/@/views/error/401.vue"),
path: "/error/403",
name: "403",
component: () => import("/@/views/error/403.vue"),
meta: {
title: $t("menus.hsfourZeroOne"),
i18n: true
@@ -30,6 +30,15 @@ const errorRouter = {
title: $t("menus.hsfourZeroFour"),
i18n: true
}
},
{
path: "/error/500",
name: "500",
component: () => import("/@/views/error/500.vue"),
meta: {
title: $t("menus.hsFive"),
i18n: true
}
}
]
};