perf: 优化国际化,路由不再传i18n字段,平台自动读取根目录locales文件夹下文件进行国际化匹配

This commit is contained in:
xiaoxian521
2022-05-11 15:25:01 +08:00
parent f35dea840e
commit 9067d88c3b
37 changed files with 411 additions and 430 deletions

View File

@@ -8,7 +8,6 @@ const guideRouter = {
meta: {
icon: "guide",
title: $t("menus.hsguide"),
i18n: true,
rank: 14
},
children: [
@@ -17,8 +16,7 @@ const guideRouter = {
name: "reGuide",
component: () => import("/@/views/guide/index.vue"),
meta: {
title: $t("menus.hsguide"),
i18n: true
title: $t("menus.hsguide")
}
}
]