From 85afa18a2e2eb4ee112ec9d8e0fc5f27bae32a4d Mon Sep 17 00:00:00 2001 From: aengu Date: Sat, 13 Jul 2024 03:51:19 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=AD=E4=B9=89=E6=9C=89=E8=AF=AF=EF=BC=8C?= =?UTF-8?q?=E5=BA=94=E5=88=A4=E6=96=ADmsg=E8=80=8C=E9=9D=9Emessage?= =?UTF-8?q?=EF=BC=8C=E8=BF=99=E4=BC=9A=E5=AF=BC=E8=87=B4dart=E4=BE=A7?= =?UTF-8?q?=E6=8E=A5=E6=94=B6=E5=88=B0=E7=9A=84=E6=95=B0=E6=8D=AE=E4=B8=BA?= =?UTF-8?q?null?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: aengu --- .../components/plugin/webview/web_message/WebMessageChannel.ets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flutter_inappwebview_ohos/ohos/src/main/ets/components/plugin/webview/web_message/WebMessageChannel.ets b/flutter_inappwebview_ohos/ohos/src/main/ets/components/plugin/webview/web_message/WebMessageChannel.ets index c4bd1cc9..f39263cc 100644 --- a/flutter_inappwebview_ohos/ohos/src/main/ets/components/plugin/webview/web_message/WebMessageChannel.ets +++ b/flutter_inappwebview_ohos/ohos/src/main/ets/components/plugin/webview/web_message/WebMessageChannel.ets @@ -79,7 +79,7 @@ export class WebMessageChannel implements Disposable { let webMessageChannel: WebMessageChannel = this; try { webMessagePort.onMessageEventExt((msg) => { - webMessageChannel.onMessage(index, message != null ? WebMessageCompatExt.fromMapWebMessageCompat(msg) : null) + webMessageChannel.onMessage(index, msg != null ? WebMessageCompatExt.fromMapWebMessageCompat(msg) : null) }) result.success(true); } catch (e) { -- Gitee