Selaa lähdekoodia

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

Damon 8 kuukautta sitten
vanhempi
commit
857adb3d11
1 muutettua tiedostoa jossa 1 lisäystä ja 5 poistoa
  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() {