zy-asrs-flow/src/pages/map/index.jsx
@@ -15,6 +15,7 @@ import Edit from './components/device'; import Settings from './components/settings' import * as Utils from './utils' import * as Websocket from './websocket' import Player from './player'; import MapSearch from './header/search'; import MapFloor from './header/floor'; @@ -122,6 +123,8 @@ player.adaptScreen(); Utils.mapNotify(intl.formatMessage({ id: 'map.load.success', defaultMessage: '欢迎使用WCS系统' })); }, 200) Websocket.createWs(); } initialize(); }, []);