wx.connectWifi({
SSID: that.data.SSID,
BSSID: that.data.BSSID,
password: that.data.password,
success: (res) => {
console.log(res)
if (res.errMsg == 'connectWifi:ok') {
}
},
fail: (res) => {
console.log(res, "失败")
that.setData({
endError: res.errMsg
});
}
})
你好,麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)
https://developers.weixin.qq.com/s/q57nGYmn7FtD 这是代码片段