fix: 动态评论查看详情

This commit is contained in:
guozhigq
2024-07-26 22:47:14 +08:00
parent 9fe307f716
commit 341285a1cb
2 changed files with 9 additions and 6 deletions

View File

@ -106,7 +106,7 @@ class _DynamicDetailPageState extends State<DynamicDetailPage>
}
// 查看二级评论
void replyReply(replyItem, currentReply) {
void replyReply(replyItem, currentReply, loadMore) {
int oid = replyItem.oid;
int rpid = replyItem.rpid!;
Get.to(
@ -125,6 +125,7 @@ class _DynamicDetailPageState extends State<DynamicDetailPage>
source: 'dynamic',
replyType: ReplyType.values[replyType],
firstFloor: replyItem,
loadMore: loadMore,
),
),
);
@ -324,8 +325,10 @@ class _DynamicDetailPageState extends State<DynamicDetailPage>
replyItem: replyList[index],
showReplyRow: true,
replyLevel: '1',
replyReply: (replyItem, currentReply) =>
replyReply(replyItem, currentReply),
replyReply:
(replyItem, currentReply, loadMore) =>
replyReply(replyItem,
currentReply, loadMore),
replyType: ReplyType.values[replyType],
addReply: (replyItem) {
replyList[index]