diff --git a/lib/pages/video/detail/reply/widgets/reply_item.dart b/lib/pages/video/detail/reply/widgets/reply_item.dart index 9803c900..b8ef2911 100644 --- a/lib/pages/video/detail/reply/widgets/reply_item.dart +++ b/lib/pages/video/detail/reply/widgets/reply_item.dart @@ -278,7 +278,9 @@ class ReplyItem extends StatelessWidget { }, ).then((value) => { // 完成评论,数据添加 - if (value != null && value['data'] != null) + if (value != null && + value['data'] != null && + addReply != null) { addReply!(value['data']) // replyControl.replies.add(value['data']),