mirror of
https://github.com/pure-admin/pure-admin-thin.git
synced 2025-11-26 04:23:40 +08:00
perf: 同步完整版代码
This commit is contained in:
@@ -5,18 +5,18 @@ const errorRouter = {
|
||||
path: "/error",
|
||||
name: "error",
|
||||
component: Layout,
|
||||
redirect: "/error/401",
|
||||
redirect: "/error/403",
|
||||
meta: {
|
||||
icon: "position",
|
||||
title: $t("menus.hserror"),
|
||||
i18n: true,
|
||||
rank: 7
|
||||
rank: 9
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: "/error/401",
|
||||
name: "401",
|
||||
component: () => import("/@/views/error/401.vue"),
|
||||
path: "/error/403",
|
||||
name: "403",
|
||||
component: () => import("/@/views/error/403.vue"),
|
||||
meta: {
|
||||
title: $t("menus.hsfourZeroOne"),
|
||||
i18n: true
|
||||
@@ -30,6 +30,15 @@ const errorRouter = {
|
||||
title: $t("menus.hsfourZeroFour"),
|
||||
i18n: true
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/error/500",
|
||||
name: "500",
|
||||
component: () => import("/@/views/error/500.vue"),
|
||||
meta: {
|
||||
title: $t("menus.hsFive"),
|
||||
i18n: true
|
||||
}
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user