Commit f374365a authored by Steven杜宇's avatar Steven杜宇

// 无数据处理

parent 71cca2a1
......@@ -72,9 +72,9 @@ class YHHomeInformationViewController: YHBaseViewController {
self.getTheNewestInfoList(isFirstPage: true) {
let count = self.viewModel.arrHomeNewsData?.count ?? 0
if count <= 0, self.sectionItems.count <= 0 {
self.noDataView.isHidden = true
} else {
self.noDataView.isHidden = false
} else {
self.noDataView.isHidden = true
}
}
}
......
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