wujingjing
2024-11-04 7c6502b4e02e4e32480b4085dacfed90d881367a
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();