Jelajahi Sumber

修复挤压等相关bug

wzh 1 tahun lalu
induk
melakukan
cd53c882c6
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  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;