优化-待测试

This commit is contained in:
2025-12-01 11:15:18 +08:00
parent 54fc655d73
commit ec8eef83e8
@@ -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
} }