Sfoglia il codice sorgente

修复挤压等相关bug

wzh 1 anno fa
parent
commit
cd53c882c6
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  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;