未及时更新评论内容

This commit is contained in:
谢思 2021-11-12 13:50:35 +08:00
parent a94d02bb8a
commit 7ff29fec70
1 changed files with 6 additions and 2 deletions

View File

@ -253,18 +253,22 @@ class comments extends Component {
onContentChange = (value) => { onContentChange = (value) => {
if (value) { if (value) {
this.setState({ this.setState({
content: value,
quillFlag: false, quillFlag: false,
}); });
} }
this.setState({
content: value,
});
}; };
replyContentChange = (value) => { replyContentChange = (value) => {
if (value) { if (value) {
this.setState({ this.setState({
reply_content: value,
quillFlag: false, quillFlag: false,
}); });
} }
this.setState({
reply_content: value,
});
}; };
//评论中at谁列表存储login //评论中at谁列表存储login