Commit d47d9c7c authored by Steven杜宇's avatar Steven杜宇

// fix

parent 3b792637
......@@ -819,11 +819,13 @@ extension YHJsApi {
}
}
@objc func goServiceStatus(_ status: String) {
@objc func goServiceStatus(_ status: Any) {
DispatchQueue.main.async {
UIViewController.current?.navigationController?.popToRootViewController(animated: false)
goTabBarBy(tabType: .service)
NotificationCenter.default.post(name: YhConstant.YhNotification.didJumpToServicePageSwitchIndexNotification, object: nil, userInfo: ["status": status])
let value: String = status as? String ?? "0"
NotificationCenter.default.post(name: YhConstant.YhNotification.didJumpToServicePageSwitchIndexNotification, object: nil, userInfo: ["status": value])
}
}
......
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