| | |
| | | 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'; |
| | |
| | | player.adaptScreen(); |
| | | Utils.mapNotify(intl.formatMessage({ id: 'map.load.success', defaultMessage: '欢迎使用WCS系统' })); |
| | | }, 200) |
| | | |
| | | Websocket.createWs(); |
| | | } |
| | | initialize(); |
| | | }, []); |
| | |
| | | <MapDrawer |
| | | open={drawerVisible} |
| | | curSprite={curSprite} |
| | | curFloor={curFloor} |
| | | refCurr={mapRef.current} |
| | | onCancel={() => { |
| | | setCurSPrite(null); |