123456789101112131415161718192021222324252627282930313233343536373839404142 |
- import { $t } from "/@/plugins/i18n";
- import type { RouteConfigsTable } from "/#/index";
- const Layout = () => import("/@/layout/index.vue");
- const errorRouter: RouteConfigsTable = {
- path: "/error",
- component: Layout,
- redirect: "/error/403",
- meta: {
- icon: "information-line",
- title: $t("menus.hserror"),
- rank: 9
- },
- children: [
- {
- path: "/error/403",
- name: "403",
- component: () => import("/@/views/error/403.vue"),
- meta: {
- title: $t("menus.hsfourZeroOne")
- }
- },
- {
- path: "/error/404",
- name: "404",
- component: () => import("/@/views/error/404.vue"),
- meta: {
- title: $t("menus.hsfourZeroFour")
- }
- },
- {
- path: "/error/500",
- name: "500",
- component: () => import("/@/views/error/500.vue"),
- meta: {
- title: $t("menus.hsFive")
- }
- }
- ]
- };
- export default errorRouter;
|