From 576d28de6be2d75bfd5a213874dd8d06657635b5 Mon Sep 17 00:00:00 2001
From: zhuguifei <zhuguifei@zhuguifeideiMac.local>
Date: 星期三, 25 十二月 2024 08:40:20 +0800
Subject: [PATCH] 1.添加实时报警和历史报警 2.添加云服务和局域网模式切换界面
---
pages/device/control.vue | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/pages/device/control.vue b/pages/device/control.vue
index 9a54dfc..fd543fd 100644
--- a/pages/device/control.vue
+++ b/pages/device/control.vue
@@ -291,12 +291,8 @@
// })
let _this = this
this.$mqttTool.client.on('message', function(topic, message, buffer) {
-
- console.error("瑙f瀽鏁版嵁")
+
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
--
Gitblit v1.9.3