diff --git a/pages/index/index.vue b/pages/index/index.vue index e5f7e775d24c2b9a3cc061b04ded9b4df9bea216..941e7e8984da56eeb72fd06ccac79cef00c2f681 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -44,7 +44,6 @@ uni.connectWifi({ maunal:false, SSID:"Xiaomi_20D0", - BSSID:"", password:"BBBB", complete:(res)=>{ console.log(res); diff --git a/uni_modules/uni-wifi/utssdk/app-android/index.uts b/uni_modules/uni-wifi/utssdk/app-android/index.uts index 4dcbb9c53a52d8bb622d5c2ce02ed6d8853c7b0d..c2fb4660cb786f0e4d729edbd2490a6b6e437aec 100644 --- a/uni_modules/uni-wifi/utssdk/app-android/index.uts +++ b/uni_modules/uni-wifi/utssdk/app-android/index.uts @@ -42,7 +42,7 @@ type GetConnectedWifiOptions = { */ type WifiConnectOption = { SSID:string; - BSSID:string; + BSSID?:string; password:string; maunal:boolean; // 只返回ssid