Commit 22405996 by FE

campTest to course detail add param on url

parent 069ac0c5
...@@ -71,7 +71,7 @@ class CampTest extends Component { ...@@ -71,7 +71,7 @@ class CampTest extends Component {
this.body = document.getElementsByTagName('body')[0]; this.body = document.getElementsByTagName('body')[0];
this.body.style.position = 'static'; this.body.style.position = 'static';
} else { } else {
this.props.history.push(`/detail?id=${this.course_id}`) this.props.history.push(`/detail?id=${this.course_id}`,{href: '/classify'})
} }
}; };
// 选择答案 // 选择答案
......
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