From e0780b7dadb1d785bfae01e2c1d2fe8ccf032909 Mon Sep 17 00:00:00 2001 From: wujingjing <gersonwu@qq.com> Date: 星期四, 05 十二月 2024 13:46:55 +0800 Subject: [PATCH] Merge branch 'master' into test --- src/main.ts | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main.ts b/src/main.ts index 27e9f3a..c036b4c 100644 --- a/src/main.ts +++ b/src/main.ts @@ -7,7 +7,7 @@ import other from '/@/utils/other'; import '/@/extend'; import * as ElementPlusIconsVue from '@element-plus/icons-vue'; -// import ElementPlus from 'element-plus'; +import ElementPlus from 'element-plus'; import { initBackEndControlRoutes } from './router/backEnd'; import '/@/theme/index.scss'; import '@amap/amap-jsapi-types'; @@ -20,9 +20,11 @@ directive(app); other.elSvg(app); +console.log(123) + (async function () { await initBackEndControlRoutes(); - app.use(pinia).use(router).use(i18n).mount('#app'); + app.use(pinia).use(router).use(ElementPlus).use(i18n).mount('#app'); })(); // 鑾峰彇鍏ㄥ眬鏁版嵁 -- Gitblit v1.9.3