diff --git a/web/client/src/sections/control/containers/control.jsx b/web/client/src/sections/control/containers/control.jsx index 189e5df..625c0b2 100644 --- a/web/client/src/sections/control/containers/control.jsx +++ b/web/client/src/sections/control/containers/control.jsx @@ -60,18 +60,18 @@ const Control = (props) => { // websocket 使用测试 useEffect(() => { - if (socket) { - socket.on('alarmSendSocket', function (msg) { - // console.info(msg); - - // console.info(msg); - console.log(msg); - let a = msg; - }); - return () => { - socket.off("alarmSendSocket") - } - } + // if (socket) { + // socket.on('alarmSendSocket', function (msg) { + // // console.info(msg); + + // // console.info(msg); + // console.log(msg); + // let a = msg; + // }); + // return () => { + // socket.off("alarmSendSocket") + // } + // } }, [socket]) useEffect(() => { @@ -133,7 +133,7 @@ const Control = (props) => { } else { setProblemsList(res.payload.data) } - } + } }) // 统计概览--相关成员与web应用 await dispatch(control.getConsoleUser({ pepId: pepProjectId || projectId })).then(res => {