add comment user info card

This commit is contained in:
landaiqing
2024-11-05 02:11:20 +08:00
parent ec55a2f8c8
commit c0269dfa5a
69 changed files with 2958 additions and 819 deletions

View File

@@ -211,6 +211,9 @@ async function replyReplySubmit(point: any) {
reply_username: props.item.nickname,
reply_to: result.data.reply_to,
};
if (!comment.replyList.comments) {
comment.replyList.comments = []; // 初始化 comments 数组
}
comment.replyList.comments.unshift(tmpData);
comment.commentMap[props.item.id].reply_count++;
replyReplyContent.value = "";