repliesCount

This commit is contained in:
fly_mc 2024-11-10 20:55:35 +08:00
parent c8c0196123
commit 5813b499b4

View file

@ -418,7 +418,7 @@ if (props.mock) {
pureNote: note,
isDeletedRef: isDeleted,
onReplyCallback: () => {
appearNote.value.repliesCount += 1;
appearNote.value.repliesCount = (appearNote.value.repliesCount || 0) + 1;
},
});
}