From 88320a8e01a0c1062232f51bace0d00dac9f855d Mon Sep 17 00:00:00 2001
From: Soybean <2570172956@qq.com>
Date: Fri, 13 Aug 2021 17:27:02 +0800
Subject: [PATCH] =?UTF-8?q?refactor(projects):=20element-plus=E5=9B=BD?=
=?UTF-8?q?=E9=99=85=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/App.vue | 13 +++++++++----
src/plugins/element-plus.ts | 5 -----
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/src/App.vue b/src/App.vue
index 0b16dbb8..baf104cd 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -1,8 +1,13 @@
-
-
-
+
+
+
+
+
-
+
diff --git a/src/plugins/element-plus.ts b/src/plugins/element-plus.ts
index 196a3dd6..033aeed5 100644
--- a/src/plugins/element-plus.ts
+++ b/src/plugins/element-plus.ts
@@ -1,8 +1,5 @@
import type { App } from 'vue';
import 'element-plus/lib/theme-chalk/base.css';
-import locale from 'element-plus/lib/locale';
-import lang from 'element-plus/lib/locale/lang/zh-cn';
-import 'dayjs/locale/zh-cn';
import {
// ElAlert,
// ElAside,
@@ -182,8 +179,6 @@ const plugins = [
/** 引入element-plus UI组件 */
export default function setupElementPlus(app: App): void {
- /** 国际化 */
- locale.use(lang);
components.forEach(component => {
app.component(component.name, component);
});