From 450738d2504152c3bd4a93ef85337bc21286ff62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=91=A8=E7=A4=BC=E4=BA=AD?= Date: Sat, 29 Jul 2023 02:37:02 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9cookie=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 周礼亭 --- zh-cn/application-dev/reference/apis/js-apis-webview.md | 4 ++++ 1 file changed, 4 insertions(+) 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 4e8dc58fa1..5c9c75d8a8 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-webview.md +++ b/zh-cn/application-dev/reference/apis/js-apis-webview.md @@ -4324,6 +4324,10 @@ export default class EntryAbility extends UIAbility { 通过WebCookie可以控制Web组件中的cookie的各种行为,其中每个应用中的所有web组件共享一个WebCookieManager实例。 +> **说明:** +> +> - 目前调用WebCookieManager下的方法,都需要先加载web组件。 + ### getCookie static getCookie(url: string): string -- GitLab