|
|
@@ -282,7 +282,7 @@ export default {
|
|
|
onAlarmIgnore({ item, index }) {
|
|
|
console.log('点击了忽略:', item.title);
|
|
|
// 真实业务中可能会调接口,这里我们可以演示本地移除:
|
|
|
- // this.alarmData.splice(index, 1);
|
|
|
+ this.alarmData.splice(index, 1);
|
|
|
},
|
|
|
// 处理查看逻辑
|
|
|
onAlarmView({ item, index }) {
|