Commit df786131 by xuzhenghua

bug

parent 5a6b255f
......@@ -83,7 +83,7 @@ class Preferential extends Component {
toCourseDetail = (id) => {
const { dispatch, history } = this.props;
// dispatch(getCourses(id, () => {
history.push(`/detail?id=${id}`)
history.replace(`/detail?id=${id}`)
// }));
}
......
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