md
This commit is contained in:
parent
e675021267
commit
2ee641b462
@ -249,7 +249,7 @@ export default {
|
|||||||
/* 清空消息 */
|
/* 清空消息 */
|
||||||
clear(type) {
|
clear(type) {
|
||||||
if (type === 'alert') {
|
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 => {
|
clearNotice(noticeIds).then(response => {
|
||||||
console.log("清除成功");
|
console.log("清除成功");
|
||||||
this.alertList = [];
|
this.alertList = [];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user