Преглед изворни кода

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

Damon пре 8 месеци
родитељ
комит
857adb3d11
1 измењених фајлова са 1 додато и 5 уклоњено
  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() {