From b549b794204c68fe706501ff61259d4cb2d4d7c3 Mon Sep 17 00:00:00 2001 From: hejianhao <15708179461@qq.com> Date: 星期一, 17 三月 2025 16:35:33 +0800 Subject: [PATCH] Merge branch 'master' of http://120.76.84.145:10101/gitblit/r/H5/threeSide --- management/src/components/RightContent/AvatarDropdown.tsx | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/management/src/components/RightContent/AvatarDropdown.tsx b/management/src/components/RightContent/AvatarDropdown.tsx index 20ae03c..5992bda 100644 --- a/management/src/components/RightContent/AvatarDropdown.tsx +++ b/management/src/components/RightContent/AvatarDropdown.tsx @@ -27,13 +27,13 @@ const [unreadCount, setUnreadCount] = useState(0); const { currentUser } = initialState || {}; useEffect(() => { - const timer = setInterval(() => { - getUnreadCount().then((res: any) => { - setUnreadCount(res.data || 0); - }); - }, 1000 * 5) + // const timer = setInterval(() => { + // getUnreadCount().then((res: any) => { + // setUnreadCount(res.data || 0); + // }); + // }, 1000 * 5) - return () => clearInterval(timer); + // return () => clearInterval(timer); }, []); -- Gitblit v1.7.1