From d3591ce8dd26d4336dd99c27efb8d8f792d53cbd Mon Sep 17 00:00:00 2001
From: WX <1377869194@qq.com>
Date: 星期三, 12 七月 2023 14:52:37 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.20.39:8989/r/MoonWeb

---
 src/main.ts |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/main.ts b/src/main.ts
index d92cbfd..2305b40 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -3,6 +3,7 @@
 import router from "./router";
 import store from "./store";
 import ElementPlus from "element-plus";
+
 import "element-plus/dist/index.css";
 import "default-passive-events";
 import * as ElementPlusIconsVue from "@element-plus/icons-vue";
@@ -10,6 +11,8 @@
 import "./assets/css/global.css";
 //鑷�傚簲
 import "amfe-flexible/index";
+import zhlocale from "element-plus/lib/locale/lang/zh-cn";
+
 //绮掑瓙鐗规晥
 import VueParticles from "vue-particles";
 import Drag from "./utils/drag";
@@ -20,7 +23,7 @@
 }
 
 app
-  .use(ElementPlus)
+  .use(ElementPlus, { locale: zhlocale })
   .use(store)
   .use(router)
   .use(VueParticles)

--
Gitblit v1.9.3