diff --git a/zh-cn/application-dev/device/vibrator-guidelines.md b/zh-cn/application-dev/device/vibrator-guidelines.md index 60c290835eee87723194f1a7859ca54ccf89208f..26fed2b29f902f1a4ccb2eddbef8df40e7986729 100644 --- a/zh-cn/application-dev/device/vibrator-guidelines.md +++ b/zh-cn/application-dev/device/vibrator-guidelines.md @@ -63,7 +63,7 @@ import vibrator from "@ohos.vibrator" vibrator.vibrate(duration: number).then((error)=>{ 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{//调用成功,设备开始振动 console.log("Promise returned to indicate a successful vibration.") }; @@ -76,7 +76,7 @@ import vibrator from "@ohos.vibrator" vibrator.stop(stopMode: VibratorStopMode).then((error)=>{ 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{//调用成功,设备停止振动 Console.log(“Promise returned to indicate successful.”); }; diff --git a/zh-cn/application-dev/reference/apis/Readme-CN.md b/zh-cn/application-dev/reference/apis/Readme-CN.md index 5d76cee874ee31f427f240c8a754aa3db34c76d9..080bf81676dc02c285f309e7f0517f1b8c1ebcc1 100644 --- a/zh-cn/application-dev/reference/apis/Readme-CN.md +++ b/zh-cn/application-dev/reference/apis/Readme-CN.md @@ -76,12 +76,15 @@ - [升级](js-apis-update.md) - [USB管理](js-apis-usb.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-routes.md) - - [弹窗](js-apis-basic-features-pop-up.md) - - [应用配置](js-apis-basic-features-configuration.md) + - [页面路由](js-apis-system-router.md) + - [弹窗](js-apis-system-prompt.md) + - [应用配置](js-apis-system-configuration.md) - [定时器](js-apis-basic-features-timer.md) - [锁屏管理](js-apis-screen-lock.md) - [设置系统时间](js-apis-system-time.md) diff --git a/zh-cn/application-dev/reference/arkui-ts/Readme-CN.md b/zh-cn/application-dev/reference/arkui-ts/Readme-CN.md index 423c7aa2da40192a7e21a7d13bcad6bb943f2dd4..ac9ec7248172d57d474d1476e9f636abad9b1a90 100644 --- a/zh-cn/application-dev/reference/arkui-ts/Readme-CN.md +++ b/zh-cn/application-dev/reference/arkui-ts/Readme-CN.md @@ -77,6 +77,7 @@ - [Toggle](ts-basic-components-toggle.md) - [TextClock](ts-basic-components-textclock.md) - [Web](ts-basic-components-web.md) + - [RichText](ts-basic-components-richtext.md) - [Xcomponent](ts-basic-components-xcomponent.md) - [PluginComponent](ts-basic-components-plugincomponent.md) - 容器组件