-
Notifications
You must be signed in to change notification settings - Fork 154
Update my.onNetworkStatusChange.md #2145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
添加限制条件 解释网络类型 新增 5G 类型。5G 只与 客户端有关。 appx 没有做限制和判断的,就只是一个透传而已,故不需要 appx 版本声明 添加tip
|
hbhftgf
reviewed
Nov 28, 2022
@@ -4,7 +4,8 @@ | |||
|
|||
## 使用限制 | |||
|
|||
此 API 支持个人支付宝小程序、企业支付宝小程序使用。 | |||
- 此 API 支持个人支付宝小程序、企业支付宝小程序使用。 | |||
- 只有网络发生变化( 如:连接,切换或断开网络 )此 API 才能生效 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1,这个 API 的任务是把监听函数挂上,网络没变化时不触发回调,但并不是说这个 API 不生效;2,就算这句话说完整了,也没有必要,函数名称里和简介里都已经写了
@yuqing1111 麻烦看看哈 |
@yuqing1111 开启监听,状态变化触发回调 |
@hbhftgf 本人已审核,请复审 |
1,入参没有介绍,感觉读者只能靠示例代码领会 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
添加限制条件
解释网络类型
新增 5G 类型。5G 只与 客户端有关。 appx 没有做限制和判断的,就只是一个透传而已,故不需要 appx 版本声明 添加tip