未验证 提交 4d106cfa 编写于 作者: 朱天怡 提交者: Gitee

bugfix

Signed-off-by: N朱天怡 <zhutianyi2@huawei.com>
上级 a08f7cc6
......@@ -14,7 +14,7 @@
## 导入模块
```js
import workScheduler from '@ohos.workScheduler'
import workScheduler from '@ohos.workScheduler';
```
## workScheduler.startWork
......@@ -54,7 +54,7 @@ startWork(work: WorkInfo): boolean
}
}
var res = workScheduler.startWork(workInfo);
console.info("workschedulerLog res:" + res);
console.info("workschedulerLog res: ${res}");
```
## workScheduler.stopWork
......@@ -95,7 +95,7 @@ stopWork(work: WorkInfo, needCancel?: boolean): boolean
}
}
var res = workScheduler.stopWork(workInfo, false);
console.info("workschedulerLog res:" + res);
console.info("workschedulerLog res: ${res}");
```
## workScheduler.getWorkStatus
......@@ -222,7 +222,7 @@ stopAndClearWorks(): boolean
```js
let res = workScheduler.stopAndClearWorks();
console.info("workschedulerLog res:" + res);
console.info("workschedulerLog res: ${res}");
```
## workScheduler.isLastWorkTimeOut
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册