feat: 收藏夹额外加载一次分页

This commit is contained in:
orz12
2024-04-22 20:18:13 +08:00
parent 9255f3cb69
commit 25ea94eabf

View File

@@ -40,6 +40,9 @@ class FavController extends GetxController {
} }
hasMore.value = res['data'].hasMore; hasMore.value = res['data'].hasMore;
currentPage++; currentPage++;
if (hasMore.value && type == 'init') {
queryFavFolder(type: 'onload');
}
} else { } else {
SmartDialog.showToast(res['msg']); SmartDialog.showToast(res['msg']);
} }