Commit 1a117cc8 by zhanghaozhe

拆分首页模块,改宝箱分享页

parent 3f1f6723
......@@ -110,12 +110,6 @@ class Index extends Component {
this.props.history.push('/search')
}
toCourseDetail = (id) => {
const {history} = this.props;
history.push(`/detail?id=${id}`);
return false;
}
render() {
return (
<div className='index-box'>
......
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