fix: 评论渲染异常、评论总数

This commit is contained in:
guozhigq
2023-08-25 21:16:16 +08:00
parent aa7419f352
commit 6083578f93
3 changed files with 7 additions and 4 deletions

View File

@ -28,6 +28,7 @@ class VideoReplyController extends GetxController {
bool isLoadingMore = false;
RxString noMore = ''.obs;
int ps = 20;
RxInt count = 0.obs;
// 当前回复的回复
ReplyItemModel? currentReplyItem;
@ -96,6 +97,7 @@ class VideoReplyController extends GetxController {
replyList.addAll(replies);
}
}
count.value = res['data'].page.count;
isLoadingMore = false;
return res;
}