Переглянути джерело

Merge branch 'dev' of http://110.41.163.243:9980/kd-aiot/kd-aiot-frontend into dengfei

695593266@qq.com 1 місяць тому
батько
коміт
17937592bf

+ 3 - 1
src/views/rulesManagement/releaseRules/components/permitAdd.vue

@@ -1790,7 +1790,9 @@
         this.formData.deviceId = data?.id || null;
         this.formData.deviceId = data?.id || null;
         this.formData.deviceName = data?.name || '';
         this.formData.deviceName = data?.name || '';
         if (this.formData.reportWorkType == 5) {
         if (this.formData.reportWorkType == 5) {
-          this.formData.details = [];
+          this.formData.details = this.formData.details.filter(
+            (item) => !item.paramCode
+          );
         }
         }
       },
       },
       // 添加
       // 添加