pages/tabBar/device.vue
@@ -219,11 +219,11 @@ } }, mounted() { onShow() { this.startTimer() this.mqttData() }, beforeDestroy() { onHide() { this.stopTimer() uni.$off(this.$constant.MQTT_TOPIC_MESSAGE) }, @@ -342,7 +342,7 @@ case topics.updateEquStatu: this.handleEquipmentStatusUpdate(wdata); break; case topics.realData: case topics.realData: this.mergeMqttRealData(wdata); break; case topics.realFaultTopic: