Commit 79cbd916 authored by pete谢兆麟's avatar pete谢兆麟

刷新上传

parent a33a1f25
...@@ -34,6 +34,10 @@ class YHSelectViewController: YHBaseViewController { ...@@ -34,6 +34,10 @@ class YHSelectViewController: YHBaseViewController {
override func viewWillAppear(_ animated: Bool) { override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated) super.viewWillAppear(animated)
self.viewModel.getLiveList {[weak self] success, error in
guard let self = self else { return }
self.sectionView.items = self.viewModel.liveArr
}
} }
override func viewWillDisappear(_ animated: Bool) { override func viewWillDisappear(_ animated: Bool) {
...@@ -77,6 +81,10 @@ extension YHSelectViewController { ...@@ -77,6 +81,10 @@ extension YHSelectViewController {
} }
} }
} }
self.viewModel.getLiveList {[weak self] success, error in
guard let self = self else { return }
self.sectionView.items = self.viewModel.liveArr
}
} }
func getDetailImages() { func getDetailImages() {
......
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