From 2ff7e1b9f5251509003a4eb984a5204fc3364d94 Mon Sep 17 00:00:00 2001 From: zengyawen Date: Wed, 10 Nov 2021 12:15:40 +0000 Subject: [PATCH] update zh-cn/application-dev/js-reference/apis/js-apis-sensor.md. Signed-off-by: zengyawen --- zh-cn/application-dev/js-reference/apis/js-apis-sensor.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zh-cn/application-dev/js-reference/apis/js-apis-sensor.md b/zh-cn/application-dev/js-reference/apis/js-apis-sensor.md index 7ad6e15939..54657bc275 100644 --- a/zh-cn/application-dev/js-reference/apis/js-apis-sensor.md +++ b/zh-cn/application-dev/js-reference/apis/js-apis-sensor.md @@ -2055,7 +2055,7 @@ sensor.once(sensor.SensorType.SENSOR_TYPE_ID_PROXIMITY, function(error, data) { ); ``` -## senor.once\(SensorType.SENSOR\_TYPE\_ID\_HUMIDITY\) +## sensor.once\(SensorType.SENSOR\_TYPE\_ID\_HUMIDITY\) once\(type: SensorType.SENSOR\_TYPE\_ID\_HUMIDITY, callback: AsyncCallback\): void -- GitLab