#
luxiaotao1123
2026-01-14 c402e77c8a141b05d5ef62b73306ba7322585bb2
zy-acs-flow/src/map/MapPage.jsx
@@ -8,7 +8,7 @@
    useTheme,
    Fab,
} from '@mui/material';
import { MAP_MODE, MAP_DEFAULT_ROTATION } from "./constants";
import { MAP_MODE, MAP_DEFAULT_ROTATION, setMapPreferences } from "./constants";
import Player from './player';
import * as Tool from './tool';
import { NotificationProvider, useNotification } from './Notification';
@@ -85,6 +85,7 @@
            Tool.setThemeMode(themeMode);
            Http.setNotify(notify);
            Http.setMapContainer(player.mapContainer);
            await Http.fetchMapPreferences(curZone, setMapPreferences);
            websocket = new WebSocketClient('/ws/map/websocket');
            await Http.fetchMapData(curZone, setRcsStatus, setCurSprite);