分支自 mobile/lbdry-uniapp
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) },