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;