From d58daa7339db2dccbc68be767ffd96e61b130b1c Mon Sep 17 00:00:00 2001 From: wangjing247 Date: Wed, 19 Jul 2023 15:00:28 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B5=84=E6=96=99=E6=96=87=E6=A1=A3=E4=B8=80?= =?UTF-8?q?=E8=87=B4=E6=80=A7=E6=A3=80=E6=9F=A5=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wangjing247 --- zh-cn/application-dev/reference/apis/js-apis-webview.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-webview.md b/zh-cn/application-dev/reference/apis/js-apis-webview.md index 0754005346..7ed79206b7 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-webview.md +++ b/zh-cn/application-dev/reference/apis/js-apis-webview.md @@ -4221,7 +4221,7 @@ struct WebComponent { } ``` -### prefetchPage +### prefetchPage10+ prefetchPage(url: string, additionalHeaders?: Array\): void @@ -4231,7 +4231,7 @@ prefetchPage(url: string, additionalHeaders?: Array\): void **参数:** -| 名称 | 类型 | 必填 | 说明 | +| 参数名 | 类型 | 必填 | 说明 | | ------------------| --------------------------------| ---- | ------------- | | url | string | 是 | 预加载的url。| | additionalHeaders | Array\<[WebHeader](#webheader)> | 否 | url的附加HTTP请求头。| @@ -4274,7 +4274,7 @@ struct WebComponent { } ``` -### prepareForPageLoad +### prepareForPageLoad10+ static prepareForPageLoad(url: string, preconnectable: boolean, numSockets: number): void @@ -4284,7 +4284,7 @@ static prepareForPageLoad(url: string, preconnectable: boolean, numSockets: numb **参数:** -| 名称 | 类型 | 必填 | 说明 | +| 参数名 | 类型 | 必填 | 说明 | | ---------------| ------- | ---- | ------------- | | url | string | 是 | 预连接的url。| | preconnectable | boolean | 是 | 是否进行预连接。如果preconnectable为true,则对url进行dns解析,socket建链预连接;如果preconnectable为false,则不做任何预连接操作。| -- GitLab