You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
728 B
37 lines
728 B
import { $t } from "/@/plugins/i18n";
|
|
import Layout from "/@/layout/index.vue";
|
|
|
|
const errorRouter = {
|
|
path: "/error",
|
|
name: "error",
|
|
component: Layout,
|
|
redirect: "/error/401",
|
|
meta: {
|
|
icon: "position",
|
|
title: $t("menus.hserror"),
|
|
i18n: true,
|
|
rank: 7
|
|
},
|
|
children: [
|
|
{
|
|
path: "/error/401",
|
|
name: "401",
|
|
component: () => import("/@/views/error/401.vue"),
|
|
meta: {
|
|
title: $t("menus.hsfourZeroOne"),
|
|
i18n: true
|
|
}
|
|
},
|
|
{
|
|
path: "/error/404",
|
|
name: "404",
|
|
component: () => import("/@/views/error/404.vue"),
|
|
meta: {
|
|
title: $t("menus.hsfourZeroFour"),
|
|
i18n: true
|
|
}
|
|
}
|
|
]
|
|
};
|
|
|
|
export default errorRouter;
|