Commit a7af01f7 by zhanghaozhe

video

parent d22c161f
......@@ -487,13 +487,13 @@ class Video extends Component {
</div>
<div className='tab'>
<div>
<NavLink to={`${match.url}/video`}
<NavLink to={{pathname: `${match.url}/video`, search: `?id=${this.courseID}`}}
replace
activeClassName='active'
>视频</NavLink>
</div>
<div>
<NavLink to={`${match.url}/datum`}
<NavLink to={{pathname: `${match.url}/datum`, search: `?id=${this.courseID}`}}
replace
activeClassName='active'
>资料</NavLink>
......
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