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 7ad6e15939e45b23e20b6d92fdd7777fd0b948fa..54657bc27577b2cd75baaf20091a628bdc9b4efd 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