From 2a389d383a9872157f7bc961f216ad010d24d29b Mon Sep 17 00:00:00 2001
From: Admin <978517621@qq.com>
Date: Tue, 05 Jul 2022 16:45:26 +0800
Subject: [PATCH] 修改页面
---
src/main.ts | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/main.ts b/src/main.ts
index acd3d24..b5bd532 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -7,13 +7,16 @@
import other from '/@/utils/other';
import ElementPlus from 'element-plus';
+import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import 'element-plus/dist/index.css';
import '/@/theme/index.scss';
import mitt from 'mitt';
import VueGridLayout from 'vue-grid-layout';
const app = createApp(App);
-
+for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
+ app.component(key, component)
+}
directive(app);
other.elSvg(app);
--
Gitblit v1.9.2