zy-asrs-flow/src/pages/map/index.jsx @@ -131,6 +131,13 @@ }, 200) } initialize(); return () => { websocket.onMessage = (data) => {} if (websocket) { websocket.close(); } } }, []); // resize