未验证 提交 37654d76 编写于 作者: O openharmony_ci 提交者: Gitee

!19980 翻译完成:19732 fix link error

Merge pull request !19980 from wusongqing/TR19732
......@@ -620,7 +620,7 @@ Obtains the want in a **WantAgent** object. This API uses a promise to return th
| Type | Description |
| ----------------------------------------------------------- | ------------------------------------------------------------ |
| Promise\<Want\> | Promise used to return the want.|
| Promise\<[Want](js-apis-app-ability-want.md)\> | Promise used to return the want.|
**Error codes**
......@@ -960,7 +960,7 @@ Checks whether two **WantAgent** objects are equal to determine whether the same
| Name | Type | Mandatory| Description |
| ---------- | ------------------------ | ---- | --------------------------------------- |
| agent | WantAgent | Yes | The first **WantAgent** object. |
| otherAgent | WantAgent | Yes | Target **WantAgent** object. |
| otherAgent | WantAgent | Yes | The second **WantAgent** object. |
| callback | AsyncCallback\<boolean\> | Yes | Callback used to return the result.|
**Example**
......@@ -1041,7 +1041,7 @@ Checks whether two **WantAgent** objects are equal to determine whether the same
| Name | Type | Mandatory| Description |
| ---------- | --------- | ---- | ------------- |
| agent | WantAgent | Yes | The first **WantAgent** object.|
| otherAgent | WantAgent | Yes | Target **WantAgent** object.|
| otherAgent | WantAgent | Yes | The second **WantAgent** object. |
**Return value**
......
......@@ -16,7 +16,7 @@ import wantAgent from '@ohos.app.ability.wantAgent';
| Name | Type | Mandatory| Description |
| -------------- | ------------------------------- | ---- | ---------------------- |
| wants | Array\<Want\> | Yes | Array of all **Want** objects. |
| wants | Array\<[Want](js-apis-app-ability-want.md)\> | Yes | Array of all **Want** objects. |
| operationType | [wantAgent.OperationType](js-apis-app-ability-wantAgent.md#operationtype) | Yes | Operation type. |
| requestCode | number | Yes | Request code defined by the user.|
| wantAgentFlags | Array<[wantAgent.WantAgentFlags](js-apis-app-ability-wantAgent.md#wantagentflags)> | No | Array of flags for using the **WantAgent** object. |
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册