From 29d4e17b92f346008212e5fb8e99f829ea6a54be Mon Sep 17 00:00:00 2001 From: "zhaoyi46@huawei.com" Date: Wed, 24 May 2023 17:22:59 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=A2=9E=E5=8A=A0nfc=20controller.off?= =?UTF-8?q?=E5=85=A5=E5=8F=82=E7=BC=BA=E7=9C=81=E5=80=BC=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhaoyi46@huawei.com --- zh-cn/application-dev/reference/apis/js-apis-nfcController.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 6721457686..271d7878c2 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-nfcController.md +++ b/zh-cn/application-dev/reference/apis/js-apis-nfcController.md @@ -173,7 +173,7 @@ off(type: "nfcStateChange", callback?: Callback<[NfcState](#nfcstate)>): v | **参数名** | **类型** | **必填** | **说明** | | -------- | -------- | -------- | -------- | | type | string | 是 | 固定填"nfcStateChange"字符串。 | -| callback | Callback<[NfcState](#nfcstate)> | 否 | NFC状态改变回调函数,可以空缺不填。 | +| callback | Callback<[NfcState](#nfcstate)> | 否 | NFC状态改变回调函数,可以空缺不填。如果callback不填,将取消注册该事件关联的所有回调函数 | **示例** -- GitLab