decisionHandler(.allow) was called more than once
崩溃信息:
#0 Thread
NSInternalInconsistencyException
Completion handler passed to -[WKWebViewJavascriptBridge webView:decidePolicyForNavigationAction:decisionHandler:] was called more than once
解决方案:
if WebViewJavascriptBridgeBase().isWebViewJavascriptBridgeURL(url) {
return
}
decisionHandler(.allow)