wujingjing
2024-12-05 e0780b7dadb1d785bfae01e2c1d2fe8ccf032909
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');
})();
// 获取全局数据