提交 8aef6154 编写于 作者: 杜庆泉's avatar 杜庆泉

wifi 增加bssid字段的非空校验

上级 8eea7a8b
...@@ -43,7 +43,6 @@ ...@@ -43,7 +43,6 @@
uni.connectWifi({ uni.connectWifi({
maunal:false, maunal:false,
SSID:"Xiaomi_20D0", SSID:"Xiaomi_20D0",
BSSID:"",
password:"BBBB", password:"BBBB",
complete:(res)=>{ complete:(res)=>{
console.log(res); console.log(res);
......
...@@ -42,7 +42,7 @@ type GetConnectedWifiOptions = { ...@@ -42,7 +42,7 @@ type GetConnectedWifiOptions = {
*/ */
type WifiConnectOption = { type WifiConnectOption = {
SSID:string; SSID:string;
BSSID:string; BSSID?:string;
password:string; password:string;
maunal:boolean; maunal:boolean;
// 只返回ssid // 只返回ssid
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册