pages/device/control.vue
@@ -292,11 +292,7 @@ let _this = this this.$mqttTool.client.on('message', function(topic, message, buffer) { console.error("解析数据") const msg = JSON.parse(message); console.error(topic) console.error(msg) console.error(msg.success) if (topic == _this.$constant.SERVICE_RES_EQU_STATU.replace('equ', _this.deviceId)) { if (msg.success) { _this.connected = msg.connected