Browse Source

feature: 君正系统设备连接成功后,断开连接,连接mqtt处理

332777428@qq.com 3 tháng trước cách đây
mục cha
commit
09837d7126
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      utils/blue_ble/util.js

+ 1 - 0
utils/blue_ble/util.js

@@ -111,6 +111,7 @@ class BleUtil {
           if (value == "mqtt") {
 
           } else if (value == "recv_finish") {
+            that.disconnect(device);
             connected(true);
           }
         });