Commit 1d72163e by zhanghaozhe

题库适配

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