修改websocet

master
wuzuowei 4 months ago
parent 0462ff6eed
commit 8a45485a93

@ -71,7 +71,7 @@ const RightInfo = () => {
ws.current.start()
}
useEffect(() => {
// msglog();
msglog();
}, [])
useLayoutEffect(() => {
@ -351,7 +351,7 @@ const RightInfo = () => {
gomsglog()
// Cookies.set('InputListData', JSON.stringify(record));
}}
id='MSGNUM' style={{ fontSize: '16PX', color: 'rgb(225 70 70)' }}>{`您有${socketData.EmpWorksNums ? socketData.EmpWorksNums : 0}条待办`}
id='MSGNUM' style={{ fontSize: '16PX', color: 'rgb(225 70 70)' }}>{`您有${socketData.EmpWorksNums || msgnum}条待办`}
</span>
{/* </Popover> */}

Loading…
Cancel
Save