wzh 6 miesięcy temu
rodzic
commit
4b2782867e
1 zmienionych plików z 4 dodań i 4 usunięć
  1. 4 4
      subpkg/device/setting.vue

+ 4 - 4
subpkg/device/setting.vue

@@ -1947,7 +1947,7 @@ export default {
       let arr = [];
       let obj = {};
       obj.shadow = flag;
-      obj.id = "WashSwitch";
+      obj.id = "WaterSwitch";
       arr.push(obj);
       this.mqttPublish(2,this.deviceInfo,arr)
     },
@@ -3447,17 +3447,17 @@ export default {
         this.currentSecondAddWaterTime = obj.value;
       }
 
-      if(msgId = "JianyaoMode"){
+      if(msgId == "JianyaoMode"){
         this.jianyaoMode =  obj.value;
       }
 
 
-      if(msgId = "PressDelay"){
+      if(msgId == "PressDelay"){
         this.pressDelay =  obj.value;
       }
 
 
-      if(msgId = "WaterRepair"){
+      if(msgId == "WaterRepair"){
         this.waterRepair =  obj.value;
       }