Skip to content

Commit cbd198e

Browse files
committed
适配ios 11
1 parent 7c1e677 commit cbd198e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

WebViewJavascriptBridge/WKWebViewJavascriptBridge.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ - (void)webView:(WKWebView *)webView decidePolicyForNavigationAction:(WKNavigati
147147
[_base logUnkownMessage:url];
148148
}
149149
decisionHandler(WKNavigationActionPolicyCancel);
150+
return;
150151
}
151152

152153
if (strongDelegate && [strongDelegate respondsToSelector:@selector(webView:decidePolicyForNavigationAction:decisionHandler:)]) {

0 commit comments

Comments
 (0)