This commit is contained in:
linfso 2025-01-03 12:21:46 +08:00
parent e675021267
commit 2ee641b462

View File

@ -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 = [];