Explorar el Código

告警规则,绑定设备页面报错问题处理

jingyuanchao hace 1 año
padre
commit
cdf58dbaff
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/views/warnRule/relevanceDialogCom.vue

+ 1 - 1
src/views/warnRule/relevanceDialogCom.vue

@@ -79,7 +79,7 @@ export default {
           (d) => selectIds.indexOf(d.deviceId) < 0
         );
         if (filterData.length > 0) {
-          this.currentDevice.deviceTempList = [this.currentDevice.deviceTempList, ...filterData];
+          this.currentDevice.deviceTempList = [...this.currentDevice.deviceTempList, ...filterData];
         }
       } else {
         this.currentDevice.deviceTempList = data;