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 24339605a5fb26ccb92e1be2e363dc27483fa0c1..1b49b914013f57b423f316c6bbcbab3b1b2b4da7 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 @@ -198,12 +198,11 @@ export default { let triggerTime = new Date().getTime() triggerTime += 3000 systemTimer.startTimer(timerId, triggerTime) - systemTimer.stopTimer(timerId, (error, data) => { + systemTimer.stopTimer(timerId, (error) => { if (error) { console.error(`failed to systemTime.startTimer ` + JSON.stringify(error)); return; } - console.log(`systemTime.startTimer success data : ` + JSON.stringify(data)); }); } } @@ -275,12 +274,11 @@ export default { triggerTime += 3000 systemTimer.startTimer(timerId, triggerTime) systemTimer.stopTimer(timerId) - systemTimer.destroyTimer(timerId, (error, data) => { + systemTimer.destroyTimer(timerId, (error) => { if (error) { console.error(`failed to systemTime.startTimer ` + JSON.stringify(error)); return; } - console.log(`systemTime.startTimer success data : ` + JSON.stringify(data)); }); } }