diff --git a/zh-cn/application-dev/task-management/workscheduler-extensionability.md b/zh-cn/application-dev/task-management/workscheduler-extensionability.md index e4b5dcab1b7b7be4a07c52e3dc2bd819c1a315cf..c97f03d32cc22124773606d7fcf428bd6fb0aa70 100644 --- a/zh-cn/application-dev/task-management/workscheduler-extensionability.md +++ b/zh-cn/application-dev/task-management/workscheduler-extensionability.md @@ -109,7 +109,7 @@ WorkSchedulerExtensionAbility类拥有如下API接口,具体的API介绍详见 导入模块。 ```ts - import workScheduler from '@ohos.resourceschedule.workScheduler' + import workScheduler from '@ohos.resourceschedule.workScheduler'; ``` 封装延迟任务注册、停止接口。 @@ -163,7 +163,7 @@ WorkSchedulerExtensionAbility类拥有如下API接口,具体的API介绍详见 .height(40) .fontSize(30) .onClick(() => { - this.work.startWork('ohos.samples.workscheduler', 'WorkTest') + this.work.startWork('ohos.samples.workscheduler', 'WorkTest'); }); ```