Commit 4b5507dc authored by pete谢兆麟's avatar pete谢兆麟

工作经验bug修复

parent 9e18b6ef
......@@ -52,6 +52,7 @@ class YHLifeViewController: YHBaseViewController {
override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)
loadData()
}
}
......
......@@ -560,6 +560,10 @@ class YHWorkExperienceItemView: UIView {
let model = YHOtherPickerViewItemData(title: item.company_name ?? "", subTitle: "", index: "\(item.id ?? 0)")
arrData.append(model)
}
if arrData.count == 0 {
YHHUD.flash(message: "没有在职公司!")
return
}
YHOtherPickerView.show(type: .myCompany, selectTitle: self.dataSource?.message ?? "", arrData) {[weak self] data in
guard let self = self else { return }
self.dataSource?.message = data.title
......
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