diff --git a/src/forge/Head/NoticeContent.jsx b/src/forge/Head/NoticeContent.jsx index 6b6384ec..8f0fe4a4 100644 --- a/src/forge/Head/NoticeContent.jsx +++ b/src/forge/Head/NoticeContent.jsx @@ -27,6 +27,11 @@ function NoticeContent({ visible, showNotification, resetUserInfo, current_user: resetUserInfo(); }, [noticeUnreadCount,atUnreadCount]); + useEffect(()=>{ + setNoticePage(0); + setAtPage(0); + },[visible]) + useEffect(() => { const params = { type: noticeType,