From 4fd419f3a1721503c3c6abe17b72dd4382921108 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=98=89=E4=BC=9F?= Date: Thu, 26 May 2022 06:34:50 +0000 Subject: [PATCH] update zh-cn/application-dev/reference/apis/js-apis-nfcController.md. Signed-off-by: liujiawei --- .../application-dev/reference/apis/js-apis-nfcController.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-nfcController.md b/zh-cn/application-dev/reference/apis/js-apis-nfcController.md index 3928b49878..5d3aa426a2 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-nfcController.md +++ b/zh-cn/application-dev/reference/apis/js-apis-nfcController.md @@ -94,7 +94,7 @@ on(type: "nfcStateChange", callback: Callback<NfcState>): void **系统能力**:SystemCapability.Communication.NFC -- **参数** +**参数** | **参数名** | **类型** | **必填** | **说明** | | -------- | -------- | -------- | -------- | @@ -111,7 +111,7 @@ off(type: "nfcStateChange", callback?: Callback<NfcState>): void **系统能力**:SystemCapability.Communication.NFC -- **参数** +**参数** | **参数名** | **类型** | **必填** | **说明** | | -------- | -------- | -------- | -------- | @@ -119,7 +119,7 @@ off(type: "nfcStateChange", callback?: Callback<NfcState>): void | callback | Callback<NfcState> | 否 | 状态改变回调函数。如果callback不填,将“去注册”该事件关联的所有回调函数。 | - 示例 - ``` + ```js import nfcController from '@ohos.nfcController'; var NFC_STATE_NOTIFY = "nfcStateChange"; -- GitLab