未验证 提交 d49b5a4e 编写于 作者: O openharmony_ci 提交者: Gitee

!21201 【轻量级 PR】:update zh-cn/application-dev/connectivity/net-connection-manager.md.

Merge pull request !21201 from 徐杰/N/A
......@@ -107,7 +107,7 @@ conn.on('netAvailable', (data => {
// 订阅事件,如果当前指定网络不可用,通过on_netUnavailable通知用户
conn.on('netUnavailable', (data => {
console.log("net is unavailable, netId is " + data.netId);
console.log("net is unavailable, data is " + JSON.stringify(data));
}));
// 订阅指定网络状态变化的通知
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册