kpi去掉title

This commit is contained in:
ddisfriend
2024-07-05 16:07:09 +08:00
parent 8572bf17bc
commit aff70bab17
4 changed files with 6 additions and 6 deletions

View File

@@ -16,12 +16,12 @@ class WebViewController : ZDViewController {
lazy var webView = WKWebView.init()
lazy var statusBarBackgroundView = DDView.init()
var showNavBar : Bool
var vcTitle : String
var vcTitle : String?
var url : String?
var screenEdgePanGestureRecognizerEnable : Bool
public var disappearHandler: (() -> Void)?
public init(showNavBar:Bool = true,title:String,url:String,screenEdgePanGestureRecognizerEnable:Bool = true) {
public init(showNavBar:Bool = true,title:String?,url:String,screenEdgePanGestureRecognizerEnable:Bool = true) {
self.showNavBar = showNavBar
self.vcTitle = title
self.url = url

View File

@@ -126,7 +126,7 @@ open class WebViewTool : NSObject {
vc = WebViewController(showNavBar:false, title: WebViewNameEnum.newTrainingList.rawValue, url: "\((h5Models?.newTrainingList)!)?token=\((USER.token)!)"+(appending ?? ""),screenEdgePanGestureRecognizerEnable: false)
break
case .kpiIndex:
vc = WebViewController(showNavBar:true, title: WebViewNameEnum.kpiIndex.rawValue, url: "\((h5Models?.kpiIndex)!)?token=\((USER.token)!)"+(appending ?? ""))
vc = WebViewController(showNavBar:true, title: nil, url: "\((h5Models?.kpiIndex)!)?token=\((USER.token)!)"+(appending ?? ""))
break
}

View File

@@ -5,17 +5,17 @@
<testcase classname="fastlane.lanes" name="0: default_platform" time="0.000179">
<testcase classname="fastlane.lanes" name="0: default_platform" time="0.000165">
</testcase>
<testcase classname="fastlane.lanes" name="1: gym" time="62.66725">
<testcase classname="fastlane.lanes" name="1: gym" time="63.983548">
</testcase>
<testcase classname="fastlane.lanes" name="2: pgyer" time="12.622381">
<testcase classname="fastlane.lanes" name="2: pgyer" time="12.177018">
</testcase>