This commit is contained in:
thuhole
2020-06-25 19:48:46 +08:00
parent 89900c5615
commit 7c3414941d

View File

@@ -453,6 +453,7 @@ export class ReplyForm extends Component {
this.setState({ this.setState({
loading_status: 'done', loading_status: 'done',
text: '', text: '',
preview: false,
}); });
this.area_ref.current.clear(); this.area_ref.current.clear();
this.props.on_complete(); this.props.on_complete();
@@ -550,6 +551,7 @@ export class PostForm extends Component {
this.setState({ this.setState({
loading_status: 'done', loading_status: 'done',
text: '', text: '',
preview: false,
}); });
this.area_ref.current.clear(); this.area_ref.current.clear();
this.props.on_complete(); this.props.on_complete();