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

!9639 【轻量级 PR】:【OpenHarmony开源贡献者计划2022】update...

!9639 【轻量级 PR】:【OpenHarmony开源贡献者计划2022】update zh-cn/application-dev/reference/apis/js-apis-nfctech.md.
Merge pull request !9639 from 肖家宇/N/A
......@@ -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.
先完成此消息的编辑!
想要评论请 注册