Commit 8ec7c3b5 by wangshuo

课后练习题

parent d7c34da9
...@@ -135,7 +135,7 @@ class CampTest extends Component { ...@@ -135,7 +135,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.props.history.push(`/campResolve?keshi_id=${this.keshi_id}&qid=${this.qid}`) 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