|
|
|
@ -442,14 +442,14 @@ class CoursesIndex extends Component{
|
|
|
|
|
<Switch {...this.props}>
|
|
|
|
|
|
|
|
|
|
{/* 资源列表页 */}
|
|
|
|
|
<Route path="/courses/:coursesId/file/:Id"
|
|
|
|
|
<Route path="/courses/:coursesId/file/:Id" exact
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<Resourcelist {...this.props} {...props} {...this.state} />)
|
|
|
|
|
(props) => (<ListPageIndex {...this.props} {...props} {...this.state} />)
|
|
|
|
|
}
|
|
|
|
|
></Route>
|
|
|
|
|
<Route path="/courses/:coursesId/files/:main_id"
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<Resourcelist {...this.props} {...props} {...this.state} />)
|
|
|
|
|
(props) => (<ListPageIndex {...this.props} {...props} {...this.state} />)
|
|
|
|
|
}
|
|
|
|
|
></Route>
|
|
|
|
|
<Route exact path="/courses/:coursesId/boards/:boardId"
|
|
|
|
|