wzh %!s(int64=2) %!d(string=hai) anos
pai
achega
9c4523a8b4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      pages/device/detail.vue

+ 1 - 1
pages/device/detail.vue

@@ -673,7 +673,7 @@ export default {
       let topic = "";
       let title = "升级";
       topic = "/" + device.productId + "/" + device.serialNumber + "/ota/get";
-      message = '{"version":"' + this.firmware.version + '","downloadUrl":"' + this.getDownloadUrl(this.firmware.filePath) + '"}';
+      message = '{"version":"' + this.firmware.version + '","downloadUrl":"' + this.getDownloadUrl(this.firmware.filePath) + '","size":"'+this.firmware.size+'"}';
       this.$mqttTool.publish(topic, message,title).then(res => {
         this.notifySuccess(res);
       }).catch(res => {