feat(i18n): 菜单动态支持i18n (#109)

* feat(i18n): 菜单动态支持i18n
This commit is contained in:
hb0730
2021-11-15 16:45:09 +08:00
committed by GitHub
parent 2d6ad99f6f
commit aa8005a982
15 changed files with 94 additions and 15 deletions

View File

@@ -9,6 +9,7 @@ const errorRouter = {
icon: "Position",
title: "message.hserror",
showLink: true,
i18n: true,
rank: 7
},
children: [
@@ -18,6 +19,7 @@ const errorRouter = {
component: () => import("/@/views/error/401.vue"),
meta: {
title: "message.hsfourZeroOne",
i18n: true,
showLink: true
}
},
@@ -27,6 +29,7 @@ const errorRouter = {
component: () => import("/@/views/error/404.vue"),
meta: {
title: "message.hsfourZeroFour",
i18n: true,
showLink: true
}
}