Commit 9dba4c3b by yuananting

fix:调试

parent 9bb63fd4
...@@ -202,7 +202,7 @@ class QuestionEditor extends Component { ...@@ -202,7 +202,7 @@ class QuestionEditor extends Component {
prevList = [...ids]; prevList = [...ids];
this.setState({ blanksList: _blanksList }, () => this.setState({ blanksList: _blanksList }, () =>
this.props.changeBlankCount(_blanksList, idx) this.props.changeBlankCount(_blanksList, ids ? idx : -1)
); );
} }
this.setState( this.setState(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment