wujingjing
2025-04-14 77b15609b62c9bcd80fcdfd65f134a06252920b9
src/main.ts
@@ -11,10 +11,11 @@
import { initBackEndControlRoutes } from './router/backEnd';
import '/@/theme/index.scss';
import '@amap/amap-jsapi-types';
import { autoLogin, getAllData ,pingLogin} from './stores/chatRoom';
import { autoLogin, getAllData ,getGlobalPosition,pingLogin} from './stores/chatRoom';
import { setTheme } from '/@/utils/theme';
import { accessSessionKey } from './utils/request';
import { Local } from './utils/storage';
import { getSystemGlobalConfig, checkWxOperate, ParentRegister } from './stores/global';
// setTheme();
const app = createApp(App);
@@ -37,3 +38,9 @@
// 获取全局数据
getAllData();
pingLogin();
getGlobalPosition();
getSystemGlobalConfig();
checkWxOperate();
ParentRegister.setRegisterFunc();