wujingjing
2024-10-28 d2efaa204e1217b90b5f99581e5a68802867f20e
src/main.ts
@@ -12,6 +12,7 @@
import { initBackEndControlRoutes } from './router/backEnd';
import '/@/theme/index.scss';
import '@amap/amap-jsapi-types';
import { getAllData } from './stores/chatRoom';
const app = createApp(App);
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
@@ -24,3 +25,6 @@
   await initBackEndControlRoutes();
   app.use(pinia).use(router).use(ElementPlus).use(i18n).use(VueGridLayout).mount('#app');
})();
// 获取全局数据
getAllData();