From 1784c7bde96755daf0782e219878083671e0e116 Mon Sep 17 00:00:00 2001 From: dengzedong <dengzedong@email> Date: 星期一, 21 四月 2025 09:34:52 +0800 Subject: [PATCH] 数据分析 默认影响时间和影响因素 --- src/main.ts | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/src/main.ts b/src/main.ts index ed098e4..b056fbd 100644 --- a/src/main.ts +++ b/src/main.ts @@ -50,7 +50,6 @@ import './permission' -import '@/plugins/tongji' // 百度统计 import Logger from '@/utils/Logger' import VueDOMPurifyHTML from 'vue-dompurify-html' // 解决v-html 的安全隐患 @@ -65,6 +64,8 @@ import lifecycles from '@/utils/lifecycles' // 生命周期函数 +import * as ElementPlusIconsVue from '@element-plus/icons-vue' + // import credentialsFetch from "@/utils/fetch"; const isProduction = process.env.NODE_ENV === "production"; @@ -73,6 +74,10 @@ const setupAll = async () => { const app = createApp(App) + for (const [key, component] of Object.entries(ElementPlusIconsVue)) { + app.component(key, component) + } + await setupI18n(app) setupStore(app) -- Gitblit v1.9.3