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

修复getConnectedWifi 判断条件错误的Bug

上级 06350ede
......@@ -819,7 +819,7 @@ export function getConnectedWifi(option : GetConnectedWifiOptions) {
wifiInfo = wrapUniWifiInfoFromConnectInfo(winfo);
// 判断一下是否wifi 关闭了
if (option.partialInfo!= null) {
if (option.partialInfo != null && option.partialInfo == true) {
let ret : UniWifiInfo = {
SSID: wifiInfo.SSID
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册