perf: 优化国际化

This commit is contained in:
xiaoxian521
2021-12-29 11:21:59 +08:00
parent d94fb0ef06
commit 73705eb0e4
43 changed files with 349 additions and 296 deletions

View File

@@ -1,3 +1,4 @@
import { $t } from "/@/plugins/i18n";
import Layout from "/@/layout/index.vue";
const flowChartRouter = {
@@ -7,7 +8,7 @@ const flowChartRouter = {
redirect: "/flowChart/index",
meta: {
icon: "SetUp",
title: "message.hsflowChart",
title: $t("menus.hsflowChart"),
showLink: true,
i18n: true,
rank: 1
@@ -18,7 +19,7 @@ const flowChartRouter = {
name: "flowChart",
component: () => import("/@/views/flow-chart/index.vue"),
meta: {
title: "message.hsflowChart",
title: $t("menus.hsflowChart"),
i18n: true,
showLink: true
}