From a99886eb9c73018235e2c373f3d82a2b0b2311d5 Mon Sep 17 00:00:00 2001
From: zhangchen <1652267879@qq.com>
Date: 星期二, 16 九月 2025 13:36:40 +0800
Subject: [PATCH] Merge branch 'ID1766-添加推送登录功能' into test
---
src/main.ts | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/src/main.ts b/src/main.ts
index 9147bbe..b3d124c 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -9,6 +9,8 @@
import App from './App.vue'
import VConsole from 'vconsole'
import { createPinia } from 'pinia'
+import '@/assets/css/iconfont.css'
+import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
if (import.meta.env.VITE_ENV === 'development') {
// 如果需要在手机平板上打开控制台,安装一个这个
@@ -16,4 +18,6 @@
}
const pinia = createPinia()
-createApp(App).use(router).use(pinia).use(ElementPlus).use(Vant).mount('#app')
+const app = createApp(App)
+
+app.use(router).use(pinia).use(ElementPlus, { locale: zhCn }).use(Vant).mount('#app')
--
Gitblit v1.8.0