2021-11-10 22:12:48 +08:00

37 lines
696 B
TypeScript

import Layout from "/@/layout/index.vue";
const errorRouter = {
path: "/error",
name: "error",
component: Layout,
redirect: "/error/401",
meta: {
icon: "Position",
title: "message.hserror",
showLink: true,
rank: 7
},
children: [
{
path: "/error/401",
name: "401",
component: () => import("/@/views/error/401.vue"),
meta: {
title: "message.hsfourZeroOne",
showLink: true
}
},
{
path: "/error/404",
name: "404",
component: () => import("/@/views/error/404.vue"),
meta: {
title: "message.hsfourZeroFour",
showLink: true
}
}
]
};
export default errorRouter;