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 416ad5e14b868d24ded0a5d894fe5d81afc2f77b..435196b24b0de4db3b4148bec235fe2fb15c16c1 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 @@ -37,7 +37,7 @@ import systemTimer from '@ohos.systemTimer'; | --------- | --------------------------------------------- | ---- | ------------------------------------------------------------ | | type | number | 是 | 定时器类型。
取值为1,表示为系统启动时间定时器(定时器启动时间不能晚于当前设置的系统时间) ;
取值为2,表示为唤醒定时器;
取值为4,表示为精准定时器;
取值为8,表示为IDLE模式定时器(暂不支持)。 | | repeat | boolean | 是 | 是否为循环定时器。
true为循环定时器,false为单次定时器。 | -| interval | number | 否 | 定时器时间间隔。
如果是循环定时器,interval值应大于5000毫秒;单词定时器interval值为0。 | +| interval | number | 否 | 定时器时间间隔。
如果是循环定时器,interval值应大于5000毫秒;单次定时器interval值为0。 | | wantAgent | [WantAgent](js-apis-app-ability-wantAgent.md) | 否 | 设置通知的WantAgent,定时器到期后通知。(支持拉起应用MainAbility,暂不支持拉起ServiceAbility。) | | callback | number | 是 | 以回调函数的形式返回定时器的ID。 |