From b5069cc8ebdb8bc51f1b45f0c49a7e385490a32a Mon Sep 17 00:00:00 2001 From: Your Name <123456> Date: 星期一, 04 七月 2022 11:17:28 +0800 Subject: [PATCH] Merge branch 'master' of https://sinanoaq.cn:8888/r/gtqt --- 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