webview的goTraining更改
This commit is contained in:
Binary file not shown.
@@ -122,8 +122,8 @@ extension WebViewController : WKScriptMessageHandler {
|
||||
if action == "goBack" {
|
||||
navigationController?.popViewController(animated: true)
|
||||
}else if action == "goTraining" {
|
||||
let params = dict?["params"] as? [String:String]
|
||||
let id = params?["id"] as? String
|
||||
let params = dict?["params"] as? [String:Any]
|
||||
let id = params?["id"] as? Int
|
||||
if let supplierId = USER.supplierId,let userId = USER.userId, let id {
|
||||
WEBTOOL.open(name: .docmentDetail, appending: "&supplierId=\(supplierId)&userId=\(userId)&id=\(id)")
|
||||
}
|
||||
|
||||
@@ -5,17 +5,17 @@
|
||||
|
||||
|
||||
|
||||
<testcase classname="fastlane.lanes" name="0: default_platform" time="0.000217">
|
||||
<testcase classname="fastlane.lanes" name="0: default_platform" time="0.000167">
|
||||
|
||||
</testcase>
|
||||
|
||||
|
||||
<testcase classname="fastlane.lanes" name="1: gym" time="114.897249">
|
||||
<testcase classname="fastlane.lanes" name="1: gym" time="87.011582">
|
||||
|
||||
</testcase>
|
||||
|
||||
|
||||
<testcase classname="fastlane.lanes" name="2: pgyer" time="25.830574">
|
||||
<testcase classname="fastlane.lanes" name="2: pgyer" time="23.993516">
|
||||
|
||||
</testcase>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user