From 8dc69ebcc8805fb58073254be2f963055418af4a Mon Sep 17 00:00:00 2001 From: linfso Date: Sun, 15 Dec 2024 13:00:56 +0800 Subject: [PATCH] md --- src/layout/components/TopNotice/index.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/layout/components/TopNotice/index.vue b/src/layout/components/TopNotice/index.vue index eb3c22c3..b4340956 100644 --- a/src/layout/components/TopNotice/index.vue +++ b/src/layout/components/TopNotice/index.vue @@ -182,18 +182,16 @@ export default { // this.addReadTimes // that.$notify.closeAll(); Notification.closeAll(); - this.setAddReadTimes(noticeId); + that.setAddReadTimes(noticeId); }, }); }, setAddReadTimes(noticeId){ - addReadTimes({"noticeId":noticeId}).then(response => { console.log("读取成功"); this.initUserNotice(); }); - }, initUserNotice() { // 获取通知信息