From 8a45485a9316ce7b3c15e7c582b239f5f0dc5202 Mon Sep 17 00:00:00 2001 From: wuzuowei Date: Wed, 5 Jun 2024 18:19:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9websocet?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- platform-code/src/microhost/components/rightInfo/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}条待办`} {/* */}