mirror of
https://gitee.com/beecue/fastbee.git
synced 2025-12-17 08:25:53 +08:00
fix:解决设备运行状态无法显示问题https://gitee.com/beecue/fastbee/issues/
This commit is contained in:
@@ -420,9 +420,6 @@ export default {
|
||||
/* Mqtt回调处理 */
|
||||
mqttCallback() {
|
||||
this.$mqttTool.client.on('message', (topic, message, buffer) => {
|
||||
if (message instanceof Uint8Array) {
|
||||
message = new TextDecoder().decode(message);
|
||||
}
|
||||
let topics = topic.split('/');
|
||||
let productId = topics[1];
|
||||
let deviceNum = topics[2];
|
||||
|
||||
Reference in New Issue
Block a user