Commit 6de5b897 authored by pete谢兆麟's avatar pete谢兆麟

url

parent fe67c63a
...@@ -111,13 +111,13 @@ class YHLoginPrivacyView: UIView { ...@@ -111,13 +111,13 @@ class YHLoginPrivacyView: UIView {
@objc func firstUrlClick() { @objc func firstUrlClick() {
let vc = YHWebViewViewController() let vc = YHWebViewViewController()
vc.url = url vc.url = "https://www.baidu.com"
UIViewController.current?.navigationController?.pushViewController(vc) UIViewController.current?.navigationController?.pushViewController(vc)
} }
@objc func secondUrlClick() { @objc func secondUrlClick() {
let vc = YHWebViewViewController() let vc = YHWebViewViewController()
vc.url = url vc.url = "https://www.baidu.com"
UIViewController.current?.navigationController?.pushViewController(vc) UIViewController.current?.navigationController?.pushViewController(vc)
} }
} }
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