提交 571e4e97 编写于 作者: E echoorchid

code review

Signed-off-by: Nechoorchid <huweidong2@huawei.com>
上级 5603c0f9
...@@ -1354,9 +1354,9 @@ SystemCapability.Web.Webview.Core ...@@ -1354,9 +1354,9 @@ SystemCapability.Web.Webview.Core
| 参数名 | 类型 | 必填 | 默认值 | 说明 | | 参数名 | 类型 | 必填 | 默认值 | 说明 |
| ------ | ---------------------- | ---- | ------ | :------------------------------- | | ------ | ---------------------- | ---- | ------ | :------------------------------- |
| name | string | 是 | - | 要发送的信息,包含数据和消息端口 | | name | string | 是 | - | 要发送的消息,包含数据和消息端口。 |
| ports | Array\<WebMessagePort> | 是 | - | 接收该息的URI。 | | ports | Array\<WebMessagePort> | 是 | - | 接收该息的URI。 |
| uri | string | 是 | - | 接收该息的URI。 | | uri | string | 是 | - | 接收该息的URI。 |
**错误码** **错误码**
......
...@@ -3638,8 +3638,8 @@ postMessage(options: { message: WebMessageEvent, uri: string}): void ...@@ -3638,8 +3638,8 @@ postMessage(options: { message: WebMessageEvent, uri: string}): void
| 参数名 | 参数类型 | 必填 | 默认值 | 参数描述 | | 参数名 | 参数类型 | 必填 | 默认值 | 参数描述 |
| ---------- | --------------- | ---- | ---- | ------------------------- | | ---------- | --------------- | ---- | ---- | ------------------------- |
| message | [WebMessageEvent](#webmessageevent9) | 是 | - |要发送的信息,包含数据和消息端口 。 | | message | [WebMessageEvent](#webmessageevent9) | 是 | - |要发送的消息,包含数据和消息端口。 |
| uri | string | 是 | - | 接收该息的URI。 | | uri | string | 是 | - | 接收该息的URI。 |
**示例:** **示例:**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册