From 2ee641b46213f7ea230fc98b96d92dff8e7cfa77 Mon Sep 17 00:00:00 2001 From: linfso Date: Fri, 3 Jan 2025 12:21:46 +0800 Subject: [PATCH] md --- src/layout/components/TopNotice/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layout/components/TopNotice/index.vue b/src/layout/components/TopNotice/index.vue index 9a689898..1b333e12 100644 --- a/src/layout/components/TopNotice/index.vue +++ b/src/layout/components/TopNotice/index.vue @@ -249,7 +249,7 @@ export default { /* 清空消息 */ clear(type) { if (type === 'alert') { - let noticeIds=this.alertList.map(item=>item.id).join(','); + let noticeIds=this.alertList.map(item=>item.noticeId).join(','); clearNotice(noticeIds).then(response => { console.log("清除成功"); this.alertList = [];