未验证 提交 3a7535dc 编写于 作者: O openharmony_ci 提交者: Gitee

!3334 修改马达system api资料

Merge pull request !3334 from SUE/master
......@@ -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');
}
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册