fix(comment): #1007, fix comment original_text not update when edit

This commit is contained in:
haitao(lj) 2022-10-12 15:05:01 +08:00
parent 7d193e8c27
commit f0da1b667a
1 changed files with 1 additions and 0 deletions

View File

@ -112,6 +112,7 @@ const Comment = ({ objectId, mode }) => {
if (comment.comment_id === item.comment_id) {
comment.showEdit = false;
comment.parsed_text = html;
comment.original_text = item.value;
}
return comment;
}),