Skip to content

Commit

Permalink
如果使用webView访问网站,js规则会被放到webView里执行, js返回值不为空加载成功
Browse files Browse the repository at this point in the history
  • Loading branch information
gedoor committed May 5, 2019
1 parent 2977dd7 commit 3a60b43
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ public void run() {
webView.destroy();
}
};
handler.postDelayed(timeoutRunnable, 25000);
handler.postDelayed(timeoutRunnable, 30000);
webView.setWebViewClient(new WebViewClient() {
@Override
public void onPageFinished(WebView view, String url) {
Expand Down

0 comments on commit 3a60b43

Please sign in to comment.