Skip to content

补充api(ble、wifi、camera)相关文档 - #2444

Open
wangxiaokou wants to merge 8 commits into
masterfrom
feat-doc-ble
Open

补充api(ble、wifi、camera)相关文档#2444
wangxiaokou wants to merge 8 commits into
masterfrom
feat-doc-ble

Conversation

@wangxiaokou

Copy link
Copy Markdown
Collaborator

1补充文档
2修改wifi off逻辑

if (index > -1) {
wifiListListeners.splice(index, 1)
}
wifiListListener = null

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

为啥这个pr里还夹杂了个这个改动,你这改动也不符合微信规范啊,https://developers.weixin.qq.com/miniprogram/dev/api/device/wifi/wx.offGetWifiList.html

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

你这为啥是个&&啊?以及需要判断这个startWifiReady么?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants