mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-21 05:26:44 +08:00
更换贺报下载的方法28
This commit is contained in:
@@ -152,6 +152,7 @@ function appCallBack() {}
|
||||
|
||||
// 初始化App桥接环境
|
||||
function setupWebViewJavascriptBridge(callback) {
|
||||
console.log(callback);
|
||||
// Android 调用
|
||||
if (window.WebViewJavascriptBridge) {
|
||||
callback(WebViewJavascriptBridge)
|
||||
@@ -194,6 +195,9 @@ function appCallBack() {}
|
||||
setTimeout(function() {
|
||||
document.documentElement.removeChild(WVJBIframe)
|
||||
}, 0)
|
||||
setTimeout(() => {
|
||||
document.documentElement.removeChild(WVJBIframe)
|
||||
}, 100);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user