Commit 889b8403 authored by pete谢兆麟's avatar pete谢兆麟

添加代理

parent 796874f9
...@@ -111,7 +111,7 @@ class YHHomeWebViewController: YHBaseViewController, WKUIDelegate, WKNavigationD ...@@ -111,7 +111,7 @@ class YHHomeWebViewController: YHBaseViewController, WKUIDelegate, WKNavigationD
webview.navigationDelegate = self webview.navigationDelegate = self
let api = YHJsApi() let api = YHJsApi()
// api.delegate = self api.delegate = self
webview.addJavascriptObject(api, namespace: nil) webview.addJavascriptObject(api, namespace: nil)
// 创建网址 // 创建网址
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment