h5 2
Showing
1 changed file
with
4 additions
and
0 deletions
| ... | @@ -101,6 +101,10 @@ if(isAndroid || isiOS) { | ... | @@ -101,6 +101,10 @@ if(isAndroid || isiOS) { |
| 101 | setTimeout(function() { document.documentElement.removeChild(WVJBIframe) }, 0) | 101 | setTimeout(function() { document.documentElement.removeChild(WVJBIframe) }, 0) |
| 102 | } | 102 | } |
| 103 | setupWebViewJavascriptBridge(function(bridge) { | 103 | setupWebViewJavascriptBridge(function(bridge) { |
| 104 | layer.open({ | ||
| 105 | content: bridge, | ||
| 106 | time: 2 | ||
| 107 | }) | ||
| 104 | appClient = new AppClient(bridge, isAndroid); | 108 | appClient = new AppClient(bridge, isAndroid); |
| 105 | // 此处可以调用一些init的方法 | 109 | // 此处可以调用一些init的方法 |
| 106 | }); | 110 | }); | ... | ... |
-
Please register or sign in to post a comment