From 348a0821a72601d8a9935ef2a3478501c6e97812 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期三, 03 四月 2024 12:43:34 +0800 Subject: [PATCH] # --- zy-asrs-flow/src/pages/map/index.jsx | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/zy-asrs-flow/src/pages/map/index.jsx b/zy-asrs-flow/src/pages/map/index.jsx index 03d7388..5709878 100644 --- a/zy-asrs-flow/src/pages/map/index.jsx +++ b/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(); }, []); -- Gitblit v1.9.1