提交 c5ff31c3 编写于 作者: L liujiaojiao

修改代码示例问题

Signed-off-by: Nliujiaojiao <liujiaojiao9@huawei.com>
上级 0d85ee13
...@@ -2744,7 +2744,7 @@ setP2pDeviceName(devName: string): void ...@@ -2744,7 +2744,7 @@ setP2pDeviceName(devName: string): void
try { try {
let name = "****"; let name = "****";
wifiManager.setP2pDeviceName(netId); wifiManager.setP2pDeviceName(name);
}catch(error){ }catch(error){
console.error("failed:" + JSON.stringify(error)); console.error("failed:" + JSON.stringify(error));
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册