mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
fix: 评论区没有addReply报错
This commit is contained in:
@@ -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']),
|
||||
|
||||
Reference in New Issue
Block a user