diff --git a/zh-cn/application-dev/reference/apis/js-apis-app-ability-applicationStateChangeCallback.md b/zh-cn/application-dev/reference/apis/js-apis-app-ability-applicationStateChangeCallback.md index e87855efabaa9f26d3f17e72789ba4b18a866841..4cd659d4c26666e669aece55ff7f9d6845eb4447 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-app-ability-applicationStateChangeCallback.md +++ b/zh-cn/application-dev/reference/apis/js-apis-app-ability-applicationStateChangeCallback.md @@ -21,6 +21,8 @@ onApplicationForeground(): void; **系统能力**:SystemCapability.Ability.AbilityRuntime.AbilityCore +**示例:** + ```ts import UIAbility from '@ohos.app.ability.UIAbility';