From 78dca3fda59888e2fd7caa4bb0e68c8634534c3b Mon Sep 17 00:00:00 2001 From: Anshiii Date: Tue, 21 May 2019 19:36:10 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=BF=9E=E7=BB=AD?= =?UTF-8?q?=E5=A4=9A=E6=AC=A1=E8=B0=83=E7=94=A8=20callHandler=20=E9=83=A8?= =?UTF-8?q?=E5=88=86=E5=9B=9E=E8=B0=83=E5=87=BD=E6=95=B0=E6=9C=AA=E8=A2=AB?= =?UTF-8?q?=E8=B0=83=E7=94=A8=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/src/main/assets/WebViewJavascriptBridge.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/library/src/main/assets/WebViewJavascriptBridge.js b/library/src/main/assets/WebViewJavascriptBridge.js index ec5fd4f..749c617 100644 --- a/library/src/main/assets/WebViewJavascriptBridge.js +++ b/library/src/main/assets/WebViewJavascriptBridge.js @@ -17,7 +17,7 @@ var responseCallbacks = {}; var uniqueId = 1; - + var lastCallTime = 0; var stoId = null; @@ -77,7 +77,6 @@ messagingIframe.src = CUSTOM_PROTOCOL_SCHEME + '://' + QUEUE_HAS_MESSAGE; } - // 提供给native调用,该函数作用:获取sendMessageQueue返回给native,由于android不能直接获取返回的内容,所以使用url shouldOverrideUrlLoading 的方式返回内容 function _fetchQueue() { // 空数组直接返回