From 5c35d26c03b49303600b861c39c435c8e9461e4d Mon Sep 17 00:00:00 2001 From: Admin <978517621@qq.com> Date: 星期五, 01 七月 2022 18:12:41 +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