From 94469008cc83153d10440a6e2afd2d2e86ccc93d Mon Sep 17 00:00:00 2001 From: RayShih Date: Mon, 1 Aug 2022 11:47:49 +0800 Subject: [PATCH] fixed 015105c from https://gitee.com/RayShih/docs/pulls/7519 fix bugs of publish log Signed-off-by: RayShih --- .../application-dev/ability/context-userguide.md | 6 +++--- .../apis/js-apis-Bundle-distributedBundle.md | 4 ++-- .../reference/apis/js-apis-Context.md | 16 ++++++++-------- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/zh-cn/application-dev/ability/context-userguide.md b/zh-cn/application-dev/ability/context-userguide.md index 85dc098719..c79fef74df 100644 --- a/zh-cn/application-dev/ability/context-userguide.md +++ b/zh-cn/application-dev/ability/context-userguide.md @@ -20,11 +20,11 @@ ​ FA模型只有一个Context定义。Context中所有的功能都是通过方法来提供的,它提供了一些featureAbility中不存在的方法,相当于featureAbility的一个扩展和补全。 -​**d.ts声明** +**d.ts声明** ​ https://gitee.com/openharmony/interface_sdk-js/blob/master/api/app/context.d.ts -​**示例** +**示例** ```javascript import featureAbility from '@ohos.ability.featureAbility' @@ -223,7 +223,7 @@ export default class MainAbility extends Ability { 卡片业务相关,点下面链接了解。 -​ [FormExtensionContext](/zh-cn/application-dev/reference/apis/js-apis-formextensioncontext.md) +​ [FormExtensionContext](../reference/apis/js-apis-formextensioncontext.md) ### 在eTS页面中访问Context diff --git a/zh-cn/application-dev/reference/apis/js-apis-Bundle-distributedBundle.md b/zh-cn/application-dev/reference/apis/js-apis-Bundle-distributedBundle.md index c61db4e1ce..4d56ae1f35 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-Bundle-distributedBundle.md +++ b/zh-cn/application-dev/reference/apis/js-apis-Bundle-distributedBundle.md @@ -78,7 +78,7 @@ SystemCapability.BundleManager.DistributedBundleFramework | 类型 | 说明 | | ------------------------------------------------------------ | --------------------------------- | -| Promise\<[RemoteAbilityInfo]((js-apis-bundle-remoteAbilityInfo.md))> | Promise形式返回远程基本能力信息。 | +| Promise\<[RemoteAbilityInfo](js-apis-bundle-remoteAbilityInfo.md)> | Promise形式返回远程基本能力信息。 | ## distributedBundle.getRemoteAbilityInfos @@ -135,4 +135,4 @@ SystemCapability.BundleManager.DistributedBundleFramework | 类型 | 说明 | | ------------------------------------------------------------ | --------------------------------- | -| Promise\> | Promise形式返回远程基本能力信息。 | +| Promise\> | Promise形式返回远程基本能力信息。 | diff --git a/zh-cn/application-dev/reference/apis/js-apis-Context.md b/zh-cn/application-dev/reference/apis/js-apis-Context.md index eacb8e6f9d..1352981c55 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-Context.md +++ b/zh-cn/application-dev/reference/apis/js-apis-Context.md @@ -306,9 +306,9 @@ getDisplayOrientation(callback: AsyncCallback\): void **参数:** -| 名称 | 类型 | 必填 | 描述 | -| -------- | ---------------------------------------- | ---- | --------- | -| callback | AsyncCallback\<[bundle.DisplayOrientation](js-apis-bundle.md#displayorientation)> | 是 | 表示屏幕显示方向。 | +| 名称 | 类型 | 必填 | 描述 | +| -------- | ------------------------------------------------------------ | ---- | ------------------ | +| callback | AsyncCallback\<[bundle.DisplayOrientation](js-apis-Bundle.md#displayorientation)> | 是 | 表示屏幕显示方向。 | **示例:** @@ -330,7 +330,7 @@ getDisplayOrientation(): Promise\; | 类型 | 说明 | | ---------------------------------------- | --------- | -| Promise\<[bundle.DisplayOrientation](js-apis-bundle.md#displayorientation)> | 表示屏幕显示方向。 | +| Promise\<[bundle.DisplayOrientation](js-apis-Bundle.md#displayorientation)> | 表示屏幕显示方向。 | **示例:** @@ -355,8 +355,8 @@ setDisplayOrientation(orientation: bundle.DisplayOrientation, callback: AsyncCal | 名称 | 类型 | 必填 | 描述 | | ----------- | ---------------------------------------- | ---- | ------------ | -| orientation | [bundle.DisplayOrientation](js-apis-bundle.md#displayorientation) | 是 | 指示当前能力的新方向。。 | -| callback | AsyncCallback\<[bundle.DisplayOrientation](js-apis-bundle.md#displayorientation)> | 是 | 表示屏幕显示方向。 | +| orientation | [bundle.DisplayOrientation](js-apis-Bundle.md#displayorientation) | 是 | 指示当前能力的新方向。。 | +| callback | AsyncCallback\<[bundle.DisplayOrientation](js-apis-Bundle.md#displayorientation)> | 是 | 表示屏幕显示方向。 | **示例:** @@ -382,8 +382,8 @@ setDisplayOrientation(orientation: bundle.DisplayOrientation): Promise\; | 类型 | 说明 | | ---------------------------------------- | ---------------------------------------- | -| orientation | [bundle.DisplayOrientation](js-apis-bundle.md#displayorientation) | -| Promise\<[bundle.DisplayOrientation](js-apis-bundle.md#displayorientation)> | 表示屏幕显示方向。 | +| orientation | [bundle.DisplayOrientation](js-apis-Bundle.md#displayorientation) | +| Promise\<[bundle.DisplayOrientation](js-apis-Bundle.md#displayorientation)> | 表示屏幕显示方向。 | **示例:** -- GitLab