This commit is contained in:
linfso 2024-12-15 13:00:56 +08:00
parent 26804b56d5
commit 8dc69ebcc8

View File

@ -182,18 +182,16 @@ export default {
// this.addReadTimes // this.addReadTimes
// that.$notify.closeAll(); // that.$notify.closeAll();
Notification.closeAll(); Notification.closeAll();
this.setAddReadTimes(noticeId); that.setAddReadTimes(noticeId);
}, },
}); });
}, },
setAddReadTimes(noticeId){ setAddReadTimes(noticeId){
addReadTimes({"noticeId":noticeId}).then(response => { addReadTimes({"noticeId":noticeId}).then(response => {
console.log("读取成功"); console.log("读取成功");
this.initUserNotice(); this.initUserNotice();
}); });
}, },
initUserNotice() { initUserNotice() {
// 获取通知信息 // 获取通知信息