mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-24 02:56:58 +08:00
mod: 首页推荐加载条数由20提升为22
This commit is contained in:
@@ -75,7 +75,7 @@ class RcmdController extends GetxController {
|
|||||||
_currentPage += 1;
|
_currentPage += 1;
|
||||||
// 若videoList数量太小,可能会影响翻页,此时再次请求
|
// 若videoList数量太小,可能会影响翻页,此时再次请求
|
||||||
// 为避免请求到的数据太少时还在反复请求,要求本次返回数据大于1条才触发
|
// 为避免请求到的数据太少时还在反复请求,要求本次返回数据大于1条才触发
|
||||||
if (res['data'].length > 1 && videoList.length < 20) {
|
if (res['data'].length > 1 && videoList.length < 22) {
|
||||||
queryRcmdFeed('onLoad');
|
queryRcmdFeed('onLoad');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user