Procházet zdrojové kódy

修复挤压等相关bug

wzh před 1 rokem
rodič
revize
cd53c882c6
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  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;