From d9c92cf946e44333ac98500e9784c83e3a4a6efc Mon Sep 17 00:00:00 2001 From: lixiang Date: Wed, 19 Apr 2023 10:11:55 +0800 Subject: [PATCH] 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 44ba81748c..c6243e6aff 100755 --- 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 @@ -3096,7 +3096,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