Commit 33db172a authored by David黄金龙's avatar David黄金龙

处理一处判断

parent 8c6d1bd0
...@@ -85,7 +85,7 @@ extension YHHomePageViewModel { ...@@ -85,7 +85,7 @@ extension YHHomePageViewModel {
} }
if let count = self.arrHomeNewsData?.count { if let count = self.arrHomeNewsData?.count {
if count == self.totalCount { if count >= self.totalCount {
self.hasMoreForHomeNews = false self.hasMoreForHomeNews = false
} else { } else {
self.hasMoreForHomeNews = true self.hasMoreForHomeNews = 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