diff --git a/platform-code/src/microhost/components/rightInfo/index.tsx b/platform-code/src/microhost/components/rightInfo/index.tsx index 76b5d9d..f026424 100644 --- a/platform-code/src/microhost/components/rightInfo/index.tsx +++ b/platform-code/src/microhost/components/rightInfo/index.tsx @@ -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}条待办`} {/* */}