From 400ed23f32e55346c2e30ec5fd76eaaf3914cd4c Mon Sep 17 00:00:00 2001 From: xinking129 Date: Sat, 1 Jul 2023 18:13:01 +0800 Subject: [PATCH] Delete extra blank lines Signed-off-by: xinking129 --- .../js-apis-app-ability-applicationStateChangeCallback.md | 4 ---- .../apis/js-apis-inner-application-applicationContext.md | 2 -- 2 files changed, 6 deletions(-) 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 a727924b43..f17f6a11c7 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 @@ -7,14 +7,12 @@ ApplicationStateChangeCallback模块提供应用上下文ApplicationContext对 > 本模块首批接口从API version 10 开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。 > 本模块接口仅可在Stage模型下使用。 - ## 导入模块 ```ts import ApplicationStateChangeCallback from '@ohos.app.ability.ApplicationStateChangeCallback'; ``` - ## ApplicationStateChangeCallback.onApplicationForeground onApplicationForeground(): void; @@ -31,9 +29,7 @@ onApplicationBackground(): void; **系统能力**:SystemCapability.Ability.AbilityRuntime.AbilityCore - **示例:** - ```ts import UIAbility from '@ohos.app.ability.UIAbility'; diff --git a/zh-cn/application-dev/reference/apis/js-apis-inner-application-applicationContext.md b/zh-cn/application-dev/reference/apis/js-apis-inner-application-applicationContext.md index cdf4fb6957..3cfa95ca08 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-inner-application-applicationContext.md +++ b/zh-cn/application-dev/reference/apis/js-apis-inner-application-applicationContext.md @@ -294,7 +294,6 @@ on(type: 'applicationStateChange', callback: ApplicationStateChangeCallback): ** | type | 'applicationStateChange' | 是 | 监听事件的类型。 | | callback | [ApplicationStateChangeCallback](#js-apis-app-ability-applicationStateChangeCallback.md) | 是 | 回调方法。 | - **示例:** ```ts @@ -372,7 +371,6 @@ off(type: 'applicationStateChange'): **void**; | ------ | ------------- | ---- | -------------------- | | type | 'applicationStateChange' | 是 | 取消监听事件的类型。 | - **示例:** ```ts -- GitLab