wujingjing
2025-02-19 404600d8352b4ecac6daf963b63e01bec543fcb3
src/main.ts
@@ -11,7 +11,7 @@
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';
@@ -37,3 +37,5 @@
// 获取全局数据
getAllData();
pingLogin();
getGlobalPosition();