From 2ee0d734cbe83465b41ee80be0f76a9bdd9f1384 Mon Sep 17 00:00:00 2001 From: cff-gite Date: Fri, 29 Apr 2022 14:41:34 +0800 Subject: [PATCH] =?UTF-8?q?sensor=E8=B5=84=E6=96=99=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: cff-gite --- .../application-dev/reference/apis/js-apis-system-vibrate.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-system-vibrate.md b/zh-cn/application-dev/reference/apis/js-apis-system-vibrate.md index 1a674fbe9b..5cb3bfbd99 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-system-vibrate.md +++ b/zh-cn/application-dev/reference/apis/js-apis-system-vibrate.md @@ -27,9 +27,12 @@ vibrate(Object): void **参数:** -| 参数名 | 类型 | 必填 | 说明 | +| 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | | mode | string | 否 | 振动的模式,其中long表示长振动,short表示短振动,默认值为long。 | +| success | Function | 是 | 感应到振动数据变化后的回调函数。 | +| fail | Function | 否 | 接口调用失败的回调函数。 | +| complete | Function | 否 | 接口调用结束的回调函数。 | **示例:** -- GitLab