修改消息中心ui

feasure-livedata
lld 2026-04-03 21:44:35 +08:00
parent d1e1e0db74
commit a14e2b9b0d
1 changed files with 2 additions and 1 deletions

View File

@ -175,6 +175,7 @@ export default {
updateRead({msgType: "notice",id:item.id}).then(response => { updateRead({msgType: "notice",id:item.id}).then(response => {
if (response.code === 200) { if (response.code === 200) {
console.info("更新已读成功") console.info("更新已读成功")
this.getNoticeList();
} }
}) })
} }
@ -202,7 +203,7 @@ export default {
} }
}).finally(()=>{ }).finally(()=>{
this.noticeList = this.contentList.filter(item => this.noticeList = this.contentList.filter(item =>
item.readStatus===0); item.readStatus===this.currentTab);
this.$refs.noticePage.complete(); this.$refs.noticePage.complete();
// //
this.status = 'nomore'; this.status = 'nomore';