未验证 提交 a20e9906 编写于 作者: 肖家宇 提交者: Gitee

【OpenHarmony开源贡献者计划2022】update zh-cn/application-dev/reference/apis/js-apis-nfctech.md.

中英文符号未区分;
Signed-off-by: N肖家宇 <jyxiaof@isoftstone.com>
Signed-off-by: N肖家宇 <jyxiaof@isoftstone.com>
上级 3f346a8a
......@@ -692,7 +692,7 @@ writeNdef(msg: NdefMessage, callback: AsyncCallback\<number>): void
import tag from '@ohos.nfc.tag';
// tagInfo is an Object given by nfc service when tag is dispatched.
tag.NdefTag(taginfo).write(msgfunction (error, has) {
tag.NdefTag(taginfo).write(msg, function (error, has) {
console.log(JSON.stringify(error))
console.log('has: ' + has)
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册