未验证 提交 96635ea1 编写于 作者: O openharmony_ci 提交者: Gitee

!12267 【轻量级 PR】:update zh-cn/application-dev/reference/apis/js-apis-system-timer.md.

Merge pull request !12267 from 葛亚芳/N/A
......@@ -348,7 +348,7 @@ export default {
triggerTime += 3000
systemTimer.startTimer(timerId, triggerTime)
systemTimer.stopTimer(timerId)
systemTimer.destroyTimer(timerId, 10000).then((data) => {
systemTimer.destroyTimer(timerId).then((data) => {
console.log(`Succeeded in destroying timer. Data:` + JSON.stringify(data));
}).catch((error) => {
console.error(`Failed to destroy timer. Cause:` + JSON.stringify(error));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册