mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
feat: 收藏夹额外加载一次分页
This commit is contained in:
@@ -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']);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user