Browse Source

feature: 解决连接之后会有一段时间显示离线,先添加进去就不会了

Damon 7 months atrás
parent
commit
7711acf43a
1 changed files with 0 additions and 1 deletions
  1. 0 1
      pages/connectBle/connectBle.js

+ 0 - 1
pages/connectBle/connectBle.js

@@ -73,7 +73,6 @@ Page({
       wx.hideLoading();
       that.setStatus(data ? 3 : 4)
       if (data) {
-        this.compareList
         that.data.connectDevice.connectType = 1;
         that.data.connectDevice.state = 'online';
         getCurrentPages()[0].addConnectBlueDevice(that.data.connectDevice);