Commit 5774ac94 by zhanghaozhe

智能选课

parent 6aa52bbb
...@@ -91,7 +91,7 @@ class IntelligentRecommend extends Component { ...@@ -91,7 +91,7 @@ class IntelligentRecommend extends Component {
consult = (e) => { consult = (e) => {
e.preventDefault() e.preventDefault()
http.post(`${API.home}/sys/icc/consult`, { http.post(`${API.home}/sys/icc/consult`, {
rid: this.state.result.rid, rid: this.props.result.rid,
}).finally(() => { }).finally(() => {
window.location.href = e.target.getAttribute('href') window.location.href = e.target.getAttribute('href')
}) })
......
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