Commit 9f3a498f authored by DavidHuang's avatar DavidHuang

处理 一处编译错误

parent 383d2e8f
...@@ -364,12 +364,15 @@ extension YHEducationDetailVC : UITableViewDelegate, UITableViewDataSource { ...@@ -364,12 +364,15 @@ extension YHEducationDetailVC : UITableViewDelegate, UITableViewDataSource {
vc.orderId = self.orderId vc.orderId = self.orderId
vc.searchCollegeName = detailInfo.college vc.searchCollegeName = detailInfo.college
vc.selectBlock = { vc.selectBlock = {
[weak self] text in [weak self] text,collegeId in
guard let self = self else { return } guard let self = self else { return }
if let text = text, !text.isEmpty { if let text = text, !text.isEmpty {
detailInfo.college = text detailInfo.college = text
detailInfo.college_id = collegeId
} else { } else {
detailInfo.college = "" detailInfo.college = ""
detailInfo.college_id = 0
} }
loadInfo() loadInfo()
saveInfoSilent() saveInfoSilent()
......
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