From 07d84c0cea7588a68b1da323e4d360d3f9dc12d0 Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Mon, 28 Oct 2024 15:54:21 +0800
Subject: [PATCH] 解决 弹框中文
---
src/i18n/index.js | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/src/i18n/index.js b/src/i18n/index.js
index eab2719..8fdc0c2 100644
--- a/src/i18n/index.js
+++ b/src/i18n/index.js
@@ -19,6 +19,9 @@
import arLocale from "./ara.json";
import viLocale from "./vie.json";
import ItalyLocal from "./it.json";
+import sv from "./sv.json";
+import af from "./af.json";
+import es from "./es.json";
// 使用vue-i18n库
Vue.use(VueI18n);
@@ -68,6 +71,15 @@
it: {
...ItalyLocal,
},
+ es: {
+ ...es,
+ },
+ af: {
+ ...af,
+ },
+ sv: {
+ ...sv,
+ }
};
// 创建vueI18n实例并输出,在main.js中调用
const i18n = new VueI18n({
--
Gitblit v1.9.3