未验证 提交 3975f8b0 编写于 作者: O openharmony_ci 提交者: Gitee

!2291 错误单词修改+目录调整

Merge pull request !2291 from LiAn/master
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
import vibrator from "@ohos.vibrator" import vibrator from "@ohos.vibrator"
vibrator.vibrate(duration: number).then((error)=>{ vibrator.vibrate(duration: number).then((error)=>{
if(error){//调用失败,打印error.code和error.message if(error){//调用失败,打印error.code和error.message
console.log("Promise return faild.error.code"+error.code+"error.message"+error.message); console.log("Promise return failed.error.code"+error.code+"error.message"+error.message);
}else{//调用成功,设备开始振动 }else{//调用成功,设备开始振动
console.log("Promise returned to indicate a successful vibration.") console.log("Promise returned to indicate a successful vibration.")
}; };
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
import vibrator from "@ohos.vibrator" import vibrator from "@ohos.vibrator"
vibrator.stop(stopMode: VibratorStopMode).then((error)=>{ vibrator.stop(stopMode: VibratorStopMode).then((error)=>{
if(error){//调用失败,打印error.code和error.message if(error){//调用失败,打印error.code和error.message
console.log(“Promise return faild.error.code”+error.code+“error.message”+error.message); console.log(“Promise return failed.error.code”+error.code+“error.message”+error.message);
}else{//调用成功,设备停止振动 }else{//调用成功,设备停止振动
Console.log(“Promise returned to indicate successful.”); Console.log(“Promise returned to indicate successful.”);
}; };
......
...@@ -76,12 +76,15 @@ ...@@ -76,12 +76,15 @@
- [升级](js-apis-update.md) - [升级](js-apis-update.md)
- [USB管理](js-apis-usb.md) - [USB管理](js-apis-usb.md)
- [位置服务](js-apis-geolocation.md) - [位置服务](js-apis-geolocation.md)
- [输入设备](js-apis-inputdevice.md)
- [组合按键](js-apis-inputconsumer.md)
- [输入监听](js-apis-inputmonitor.md)
- 基本功能 - 基本功能
- [应用上下文](js-apis-basic-features-app-context.md) - [应用上下文](js-apis-system-app.md)
- [日志打印](js-apis-basic-features-logs.md) - [日志打印](js-apis-basic-features-logs.md)
- [页面路由](js-apis-basic-features-routes.md) - [页面路由](js-apis-system-router.md)
- [弹窗](js-apis-basic-features-pop-up.md) - [弹窗](js-apis-system-prompt.md)
- [应用配置](js-apis-basic-features-configuration.md) - [应用配置](js-apis-system-configuration.md)
- [定时器](js-apis-basic-features-timer.md) - [定时器](js-apis-basic-features-timer.md)
- [锁屏管理](js-apis-screen-lock.md) - [锁屏管理](js-apis-screen-lock.md)
- [设置系统时间](js-apis-system-time.md) - [设置系统时间](js-apis-system-time.md)
......
...@@ -77,6 +77,7 @@ ...@@ -77,6 +77,7 @@
- [Toggle](ts-basic-components-toggle.md) - [Toggle](ts-basic-components-toggle.md)
- [TextClock](ts-basic-components-textclock.md) - [TextClock](ts-basic-components-textclock.md)
- [Web](ts-basic-components-web.md) - [Web](ts-basic-components-web.md)
- [RichText](ts-basic-components-richtext.md)
- [Xcomponent](ts-basic-components-xcomponent.md) - [Xcomponent](ts-basic-components-xcomponent.md)
- [PluginComponent](ts-basic-components-plugincomponent.md) - [PluginComponent](ts-basic-components-plugincomponent.md)
- 容器组件 - 容器组件
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册