修改小铃铛bug

This commit is contained in:
何童崇 2021-09-17 14:59:26 +08:00
parent cd949d4f2a
commit 628606480a
1 changed files with 5 additions and 0 deletions

View File

@ -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,