From 289948f53b5e0b00a656d60c08efbff0eb05fa90 Mon Sep 17 00:00:00 2001
From: dcc <dcc@163.com>
Date: Thu, 16 May 2024 15:37:05 +0800
Subject: [PATCH] 提款更改
---
src/locales/index.js | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/locales/index.js b/src/locales/index.js
index ea7aa1d..c341a9e 100644
--- a/src/locales/index.js
+++ b/src/locales/index.js
@@ -9,7 +9,7 @@
Vue.use(VueI18n);
-const DEFAULT_LANG = "zh-CN";
+const DEFAULT_LANG = "en";
const LOCALE_KEY = "language";
const locales = {
@@ -39,7 +39,8 @@
}
let langLocale = window.localStorage.getItem(LOCALE_KEY)
? window.localStorage.getItem(LOCALE_KEY)
- : "zh-CN";
+ : "en";
+console.log(langLocale)
const i18n = new VueI18n({
locale: langLocale,
messages: locales,
@@ -69,7 +70,7 @@
}
// console.log(`lang-${lang}`);
}
-
+ console.log(lang)
Vue.config.lang = lang;
i18n.locale = lang;
};
--
Gitblit v1.9.3