Files
wireguard-dashboard-admin/src/router/modules/error.ts

36 lines
656 B
TypeScript
Raw Normal View History

2022-11-26 19:14:08 +08:00
export default {
2021-10-16 16:16:58 +08:00
path: "/error",
2022-03-04 11:17:08 +08:00
redirect: "/error/403",
2021-10-16 16:16:58 +08:00
meta: {
2022-12-04 18:00:16 +08:00
icon: "informationLine",
2022-10-28 15:32:31 +08:00
title: "异常页面",
2022-03-04 11:17:08 +08:00
rank: 9
2021-10-16 16:16:58 +08:00
},
children: [
{
2022-03-04 11:17:08 +08:00
path: "/error/403",
name: "403",
component: () => import("@/views/error/403.vue"),
2021-10-16 16:16:58 +08:00
meta: {
2022-10-28 15:32:31 +08:00
title: "403"
2021-10-16 16:16:58 +08:00
}
},
{
path: "/error/404",
name: "404",
component: () => import("@/views/error/404.vue"),
2021-10-16 16:16:58 +08:00
meta: {
2022-10-28 15:32:31 +08:00
title: "404"
2021-10-16 16:16:58 +08:00
}
2022-03-04 11:17:08 +08:00
},
{
path: "/error/500",
name: "500",
component: () => import("@/views/error/500.vue"),
2022-03-04 11:17:08 +08:00
meta: {
2022-10-28 15:32:31 +08:00
title: "500"
2022-03-04 11:17:08 +08:00
}
2021-10-16 16:16:58 +08:00
}
]
2022-11-26 19:14:08 +08:00
} as RouteConfigsTable;