浏览代码

feature: 处理多个设备在线,关闭当前连接的设备,会假连接其他设备的问题

Damon 7 月之前
父节点
当前提交
7466e7662e
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      pages/index/index.js

+ 1 - 2
pages/index/index.js

@@ -269,10 +269,9 @@ Page({
       case "message_onoffline":
         lexin_connect.searchOnlineDevice(payloads, function (list) {
           that.updateDeviceList(list, false, false);
-        },function(){
+        }, function () {
           that.setData({
             deviceListSelect: null,
-            connectDeviceIding: "",
           });
         }, function () {
           var indexPage = that.data.indexPage;