mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-09 13:53:38 +08:00
perf: 优化国际化,路由不再传i18n字段,平台自动读取根目录locales文件夹下文件进行国际化匹配
This commit is contained in:
@@ -8,7 +8,6 @@ const editorRouter = {
|
||||
meta: {
|
||||
icon: "edit",
|
||||
title: $t("menus.hseditor"),
|
||||
i18n: true,
|
||||
rank: 2
|
||||
},
|
||||
children: [
|
||||
@@ -18,7 +17,6 @@ const editorRouter = {
|
||||
component: () => import("/@/views/editor/index.vue"),
|
||||
meta: {
|
||||
title: $t("menus.hseditor"),
|
||||
i18n: true,
|
||||
keepAlive: true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user