fix: replyAdd params

This commit is contained in:
guozhigq
2024-10-31 23:05:57 +08:00
parent 3808c3ddae
commit a49429bbf1
2 changed files with 9 additions and 9 deletions

View File

@ -312,13 +312,13 @@ class _VideoReplyPanelState extends State<VideoReplyPanel>
);
},
).then(
(value) => {
(value) {
// 完成评论,数据添加
if (value != null && value['data'] != null)
{
_videoReplyController.replyList
.add(value['data'])
}
if (value != null && value['data'] != null) {
_videoReplyController.replyList
.add(value['data']);
_videoReplyController.replyList.refresh();
}
},
);
},