Explorar o código

feature: 处理点击设备展示登录的问题

Damon hai 8 meses
pai
achega
857adb3d11
Modificáronse 1 ficheiros con 1 adicións e 5 borrados
  1. 1 5
      pages/index/index.js

+ 1 - 5
pages/index/index.js

@@ -650,11 +650,7 @@ Page({
       });
       return;
     }
-
-    if (deviceList && deviceList.length === 0) {
-      that.goDeviceConnect();
-      return;
-    }
+    that.goDeviceConnect();
   },
 
   goDeviceConnect() {