提交 015105cc 编写于 作者: R RayShih

fix bugs of publish log

Signed-off-by: NRayShih <shirui721@huawei.com>
上级 dfd90933
......@@ -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
......
......@@ -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\<Array<[RemoteAbilityInfo]((js-apis-bundle-remoteAbilityInfo.md))>> | Promise形式返回远程基本能力信息。 |
| Promise\<Array<[RemoteAbilityInfo](js-apis-bundle-remoteAbilityInfo.md)>> | Promise形式返回远程基本能力信息。 |
......@@ -306,9 +306,9 @@ getDisplayOrientation(callback: AsyncCallback\<bundle.DisplayOrientation>): 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\<bundle.DisplayOrientation>;
| 类型 | 说明 |
| ---------------------------------------- | --------- |
| 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\<void>;
| 类型 | 说明 |
| ---------------------------------------- | ---------------------------------------- |
| 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)> | 表示屏幕显示方向。 |
**示例:**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册