From d72ef7ce873f63e3066b7c5cb5c368bce9907b15 Mon Sep 17 00:00:00 2001 From: li-yaoyao777 Date: Tue, 20 Sep 2022 18:22:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9docs=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: li-yaoyao777 --- zh-cn/application-dev/reference/apis/js-apis-sensor.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-sensor.md b/zh-cn/application-dev/reference/apis/js-apis-sensor.md index 941fd50508..38ee944ff2 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-sensor.md +++ b/zh-cn/application-dev/reference/apis/js-apis-sensor.md @@ -2162,7 +2162,7 @@ createRotationMatrix(gravity: Array<number>, geomagnetic: Array<number& console.error('error code is: ' + err.code + ', message: ' + err.message); return; } - console.info("data[" + i + "]: " + data[i]) + console.info(JSON.stringify(data)); }) ``` -- GitLab