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 156a728a3bdac0712e9859d24b71f13b01243faf..1a674fbe9b9b285d32a227ea4afea81c7e4339fc 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 @@ -36,13 +36,13 @@ vibrate(Object): void ``` vibrator.vibrate({ mode: 'short', - success: function(ret) { + success: function() { console.log('vibrate is successful'); }, - fail: function(ret) { - console.log('vibrate is failed'); + fail: function(data, code) { + console.log("vibrate is failed, data: " + data + ", code: " + code); }, - complete: function(ret) { + complete: function() { console.log('vibrate is completed'); } });