diff --git a/src/views/notice/Index.jsx b/src/views/notice/Index.jsx index 21d0bfa..6330078 100644 --- a/src/views/notice/Index.jsx +++ b/src/views/notice/Index.jsx @@ -17,6 +17,7 @@ function Index() { useEffect(() => { console.info("notice.useEffect"); noticeStore.getBulletinList(authStore.login.userId); + noticeStore.getBulletinUnReadCount(authStore.login.userId); //进入列表页的时候更新一下未读公告 }, []); return (