mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-04-02 15:16:37 +08:00
40 lines
843 B
TypeScript
40 lines
843 B
TypeScript
|
|
import { $t } from "@/plugins/i18n";
|
||
|
|
import { error } from "@/router/enums";
|
||
|
|
|
||
|
|
export default {
|
||
|
|
path: "/error",
|
||
|
|
redirect: "/error/403",
|
||
|
|
meta: {
|
||
|
|
icon: "ri:information-line",
|
||
|
|
// showLink: false,
|
||
|
|
title: $t("menus.pureAbnormal"),
|
||
|
|
rank: error
|
||
|
|
},
|
||
|
|
children: [
|
||
|
|
{
|
||
|
|
path: "/error/403",
|
||
|
|
name: "403",
|
||
|
|
component: () => import("@/views/error/403.vue"),
|
||
|
|
meta: {
|
||
|
|
title: $t("menus.pureFourZeroOne")
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "/error/404",
|
||
|
|
name: "404",
|
||
|
|
component: () => import("@/views/error/404.vue"),
|
||
|
|
meta: {
|
||
|
|
title: $t("menus.pureFourZeroFour")
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "/error/500",
|
||
|
|
name: "500",
|
||
|
|
component: () => import("@/views/error/500.vue"),
|
||
|
|
meta: {
|
||
|
|
title: $t("menus.pureFive")
|
||
|
|
}
|
||
|
|
}
|
||
|
|
]
|
||
|
|
} satisfies RouteConfigsTable;
|