修改小铃铛bug
This commit is contained in:
parent
cd949d4f2a
commit
628606480a
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue