From af0ff42e77a3c64046e79ffe9bd88dc4cd40ecf6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=91=9B=E4=BA=9A=E8=8A=B3?= Date: Thu, 8 Dec 2022 03:44:40 +0000 Subject: [PATCH] update zh-cn/application-dev/reference/apis/js-apis-system-timer.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 葛亚芳 --- zh-cn/application-dev/reference/apis/js-apis-system-timer.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-system-timer.md b/zh-cn/application-dev/reference/apis/js-apis-system-timer.md index 559c98376b..317e2be8a0 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-system-timer.md +++ b/zh-cn/application-dev/reference/apis/js-apis-system-timer.md @@ -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)); -- GitLab