Commit 1d72163e by zhanghaozhe

题库适配

parent e3e6209f
...@@ -23,6 +23,7 @@ class Problems extends Component { ...@@ -23,6 +23,7 @@ class Problems extends Component {
if (prevProps.match.params.id !== this.props.match.params.id) { if (prevProps.match.params.id !== this.props.match.params.id) {
this.setState({ this.setState({
problem: {}, problem: {},
isShowAnswer: false
}); });
this.getProblem() this.getProblem()
} }
......
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