Commit bc79c7f7 authored by pete谢兆麟's avatar pete谢兆麟

解决新增工作经验职位过多问题

parent dcce4c43
...@@ -78,6 +78,9 @@ class YHWorkExperienceViewController: YHBaseViewController { ...@@ -78,6 +78,9 @@ class YHWorkExperienceViewController: YHBaseViewController {
override func viewWillAppear(_ animated: Bool) { override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated) super.viewWillAppear(animated)
if workExperienceID == "0" {
return
}
viewModel.requestWorkPositionList("\(orderID)", workExperienceID ?? "") {[weak self] success, error in viewModel.requestWorkPositionList("\(orderID)", workExperienceID ?? "") {[weak self] success, error in
guard let self = self else { return } guard let self = self else { return }
self.updateDataSource() self.updateDataSource()
......
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