yusheng преди 3 седмици
родител
ревизия
cef0d70a5a
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      src/views/warning/warningSetting/components/addWarningDialog.vue

+ 2 - 1
src/views/warning/warningSetting/components/addWarningDialog.vue

@@ -505,7 +505,8 @@
         this.baseInfoForm.deviceId = data.id;
         this.baseInfoForm.deviceName = data.name;
         this.baseInfoForm.deviceCode = data.code;
-        this.iotId = data.iotId;
+        this.baseInfoForm.deviceCode = data.code;
+        this.baseInfoForm.iotId = data.iotId;
         this.baseInfoForm.conditions = [];
         getPhysicalModel(data.id).then((res) => {
           this.temperatureList = res.properties;