Commit 1ddfd080 authored by pete谢兆麟's avatar pete谢兆麟

加载刷新

parent e285b9d1
......@@ -156,7 +156,7 @@ extension YHAdopterChinaViewController: UITableViewDelegate, UITableViewDataSour
self.viewModel.requestCnIDCardMessage(url, isBack: 0) {[weak self] success, error in
guard let self = self else { return }
self.data = viewModel.getBaseDataSource(isShowPrompt)
self.tableView.reloadSections([1], with: .none)
self.tableView.reloadData()
}
}
}
......@@ -171,7 +171,7 @@ extension YHAdopterChinaViewController: UITableViewDelegate, UITableViewDataSour
let id = model.id
if id != .id21 && id != .id22 && id != .id23 {
self.data = viewModel.getChinaDataSource(isShowPrompt)
self.tableView.reloadSections([1], with: .none)
self.tableView.reloadData()
}
}
return cell
......
......@@ -157,7 +157,7 @@ extension YHAdopterTravelViewController: UITableViewDelegate, UITableViewDataSou
self.viewModel.requestHkIDCardMessage(url, isBack: 0) {[weak self] success, error in
guard let self = self else { return }
self.data = viewModel.getBaseDataSource(isShowPrompt)
self.tableView.reloadSections([1], with: .none)
self.tableView.reloadData()
}
}
}
......
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