From 13c8bf4d7eacb0796cd466f6724ec7ffe81a3e42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E8=82=96=E7=A3=8A?= <18851179580@163.com> Date: Fri, 23 Aug 2024 18:51:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9element-plus=E4=B8=BA?= =?UTF-8?q?=E4=B8=AD=E6=96=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 9 ++++++++- src/main.ts | 5 ----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/App.vue b/src/App.vue index 90949588..7706c29b 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,6 +1,13 @@ diff --git a/src/main.ts b/src/main.ts index 7ab191db..4c4110dd 100644 --- a/src/main.ts +++ b/src/main.ts @@ -6,8 +6,6 @@ import router from './router'; import Particles from 'vue3-particles'; import common from '@/utils/common'; -import ElementPlus from 'element-plus'; -import zhCn from 'element-plus/es/locale/lang/zh-cn'; //default styles import Vue3DraggableResizable from 'vue3-draggable-resizable' import 'vue3-draggable-resizable/dist/Vue3DraggableResizable.css' @@ -21,9 +19,6 @@ app.config.globalProperties.$common = common; app.use(router); app.use(Particles); app.use(Vue3DraggableResizable); -app.use(ElementPlus, { - locale: zhCn, -}); // 全局注册 状态管理(store) setupStore(app);