From 1b45d16c21755d065febe4cbc5d0fe569e72e54a Mon Sep 17 00:00:00 2001 From: Sheen Tian <5869938+tishion@users.noreply.github.com> Date: Wed, 11 Dec 2024 09:54:02 +0800 Subject: [PATCH] feat: change bridge method invokeMethod to invoke --- example/QCefViewTest/index.in.html | 2 +- example/QCefViewTest/tutorial.in.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/example/QCefViewTest/index.in.html b/example/QCefViewTest/index.in.html index e37efad..a01d6e0 100644 --- a/example/QCefViewTest/index.in.html +++ b/example/QCefViewTest/index.in.html @@ -40,7 +40,7 @@ } function onInvokeMethodClicked(name, ...arg) { - CallBridge.invokeMethod(name, ...arg); + CallBridge.invoke(name, ...arg); } function onCallBridgeQueryClicked() { diff --git a/example/QCefViewTest/tutorial.in.html b/example/QCefViewTest/tutorial.in.html index ca6baea..e9a8c4f 100644 --- a/example/QCefViewTest/tutorial.in.html +++ b/example/QCefViewTest/tutorial.in.html @@ -33,7 +33,7 @@ } function onInvokeMethodClicked(name, ...arg) { - CallBridge.invokeMethod(name, ...arg); + CallBridge.invoke(name, ...arg); } function onCallBridgeQueryClicked() {