wzh пре 1 година
родитељ
комит
cd53c882c6
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      pages/device/detail.vue

+ 2 - 2
pages/device/detail.vue

@@ -1308,7 +1308,7 @@ export default {
         this.resetTurn = 0;
       }
 
-      this.mqttPublish(2,this.deviceInfo,arr)
+      this.mqttPublish(2,this.deviceInfo,arr,true);
       this.$forceUpdate()
       this.canGetPrsValue = true;
       setTimeout(function(){
@@ -1366,7 +1366,7 @@ export default {
         let self= this;
         arr.push(pressObj);
       }
-      this.mqttPublish(2,this.deviceInfo,arr)
+      this.mqttPublish(2,this.deviceInfo,arr,true);
       this.$forceUpdate()
       this.canGetPrsValue = true;
       this.canGetPrsValue = true;