Explorar el Código

fix: 根据项目要求,设置首页故障报警模块列表点击忽略增加假删除功能

sequoia tungfang hace 3 días
padre
commit
86e529734a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/views/Home.vue

+ 1 - 1
src/views/Home.vue

@@ -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 }) {