优化-待测试
This commit is contained in:
@@ -388,7 +388,7 @@ class FoodCollectionActivity : ComponentActivity() {
|
|||||||
searchGoodsList.clear()
|
searchGoodsList.clear()
|
||||||
}
|
}
|
||||||
searchGoodsList.addAll(records)
|
searchGoodsList.addAll(records)
|
||||||
if (searchGoodsList.isEmpty()) {
|
if (pageNo == 1 && searchGoodsList.isEmpty()) {
|
||||||
loadEmptyView()
|
loadEmptyView()
|
||||||
return@searchGoods
|
return@searchGoods
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user