From da50d4252bdba43cbd5d2cc9c88a1d07e2390c80 Mon Sep 17 00:00:00 2001 From: lixiang Date: Wed, 19 Apr 2023 10:11:55 +0800 Subject: [PATCH] fixed d9c92cf from https://gitee.com/li-xiang335/docs/pulls/17392 delete onFaviconReceived sample code of event info Signed-off-by: lixiang --- .../reference/arkui-ts/ts-basic-components-web.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-web.md b/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-web.md index 4f5b6dc27a..d5e64aa4ed 100644 --- a/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-web.md +++ b/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-web.md @@ -2857,7 +2857,7 @@ onFaviconReceived(callback: (event: {favicon: image.PixelMap}) => void) Column() { Web({ src:'www.example.com', controller: this.controller }) .onFaviconReceived((event) => { - console.log('onFaviconReceived:' + JSON.stringify(event)) + console.log('onFaviconReceived'); this.icon = event.favicon; }) } -- GitLab