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;