From 362c4a9a155d161c6f82e4f73bde08307b01d0bb Mon Sep 17 00:00:00 2001 From: lanyill Date: Fri, 18 Mar 2022 19:48:26 +0800 Subject: [PATCH] Web hitTextType enum fix Signed-off-by: lanyill Change-Id: I08bffab25cf74bdd12317b073dc1e8d2b2a2acd2 --- api/@internal/component/ets/web.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/api/@internal/component/ets/web.d.ts b/api/@internal/component/ets/web.d.ts index d39d726d7d..a18e838c34 100755 --- a/api/@internal/component/ets/web.d.ts +++ b/api/@internal/component/ets/web.d.ts @@ -74,7 +74,7 @@ declare enum HitTestType { * The edit text. * @since 8 */ - Edit, + EditText, /** * The email address. @@ -86,13 +86,13 @@ declare enum HitTestType { * The HTML::a tag with src=http. * @since 8 */ - Http, + HttpAnchor, /** * The HTML::a tag with src=http + HTML::img. * @since 8 */ - HttpImg, + HttpAnchorImg, /** * The HTML::img tag. @@ -469,7 +469,7 @@ declare class WebController { * Load the given URL * @since 8 */ - loadUrl(options: { url: string; headers?: Array<{ key: string; value: string }> }); + loadUrl(options: { url: string; headers?: Header }); /** * refreshes the current URL. -- Gitee