From a660db06773007b1be690e0674829c00a57aeb7b Mon Sep 17 00:00:00 2001
From: 廖井涛 <2265517004@qq.com>
Date: 星期三, 24 十二月 2025 16:21:23 +0800
Subject: [PATCH] 订单首页流程卡新增楼层编号显示

---
 north-glass-erp/northglass-erp/src/lang/index.js |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/north-glass-erp/northglass-erp/src/lang/index.js b/north-glass-erp/northglass-erp/src/lang/index.js
index 09b3624..86be076 100644
--- a/north-glass-erp/northglass-erp/src/lang/index.js
+++ b/north-glass-erp/northglass-erp/src/lang/index.js
@@ -9,12 +9,14 @@
 import en from "./en"
 import ru from "./ru"
 import ar from "./ar"
+import kr from "@/lang/kr";
 
 let messages = {
     'zh-CN':zh,
     'en-US': en,
     ru: ru,
-    ar: ar
+    ar: ar,
+    "ko-KR": kr
 }
 
 const i18n = createI18n({
@@ -25,5 +27,11 @@
 })
 VxeUI.setI18n('zh-CN', zhCN)
 VxeUI.setI18n('en-US', enUS)
-VxeUI.setLanguage(localStorage.getItem('lang')==='en-US' ? 'en-US' : 'zh-CN')
+let lang = 'zh-CN'
+if(localStorage.getItem('lang')==='zh-CN' || localStorage.getItem('lang') === null){
+    lang = 'zh-CN'
+}else{
+    lang = 'en-US'
+}
+VxeUI.setLanguage(lang )
 export default i18n
\ No newline at end of file

--
Gitblit v1.8.0