mod: 更多回复展示逻辑

This commit is contained in:
guozhigq
2023-05-26 16:20:40 +08:00
parent bbba3083bc
commit bd8cf24fff
5 changed files with 42 additions and 62 deletions

View File

@ -35,6 +35,9 @@ class VideoReplyReplyController extends GetxController {
}
Future queryReplyList({type = 'init'}) async {
if(type == 'init'){
currentPage = 0;
}
isLoadingMore = true;
var res = await ReplyHttp.replyReplyList(
oid: aid!, root: rpid!, pageNum: currentPage + 1, type: 1);

View File

@ -80,6 +80,7 @@ class _VideoReplyReplyPanelState extends State<VideoReplyReplyPanel> {
_videoReplyReplyController.currentPage = 0;
_videoReplyReplyController.rPid = 0;
widget.closePanel!();
Navigator.pop(context);
},
),
],