Commit 179516ea by wangshuo

课后练习题

parent fdba30dd
...@@ -149,6 +149,7 @@ class CampTest extends Component { ...@@ -149,6 +149,7 @@ class CampTest extends Component {
data.answer_record = this.answerList; data.answer_record = this.answerList;
http.post(`${API.home}/m/aist/submit`, data).then((res) => { http.post(`${API.home}/m/aist/submit`, data).then((res) => {
if(res.data.code === 200) { if(res.data.code === 200) {
this.body.style.position = 'static';
this.props.history.push(`/campResolve?keshi_id=${this.keshi_id}&qid=${this.qid}`, {from: this.props.location.state.from}) this.props.history.push(`/campResolve?keshi_id=${this.keshi_id}&qid=${this.qid}`, {from: this.props.location.state.from})
}else{ }else{
Toast.info(res.data.msg, 2); Toast.info(res.data.msg, 2);
......
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