修改消息中心ui
parent
d1e1e0db74
commit
a14e2b9b0d
|
|
@ -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';
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue