Commit adbcdbbcabb7363dcfd01109b96292adc7a31381
1 parent
d19f8069
首页-资讯-h5跳转支付收银台页面
Showing
1 changed file
with
1 additions
and
1 deletions
metaCode/Classes/Main/HomePage/Controller/WebController/CNWebView.swift
| ... | ... | @@ -140,7 +140,7 @@ class CNWebView:UIView,WKNavigationDelegate, WKScriptMessageHandler{ |
| 140 | 140 | }) |
| 141 | 141 | } |
| 142 | 142 | // 跳转支付页面 |
| 143 | - navigationViewController().pushViewController(vc, animated: pushAnimated) | |
| 143 | + currentViewController()?.navigationController?.pushViewController(vc, animated: pushAnimated) | |
| 144 | 144 | } |
| 145 | 145 | }else if message.name == "pop" { |
| 146 | 146 | //返回上一级控制器 | ... | ... |