|
|
|
@ -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"
|
|
|
|
@ -491,9 +491,9 @@ class CoursesIndex extends Component{
|
|
|
|
|
></Route>
|
|
|
|
|
|
|
|
|
|
{/* 毕设选题列表 */}
|
|
|
|
|
<Route path="/courses/:coursesId/graduation_topics/:Id"
|
|
|
|
|
<Route path="/courses/:coursesId/graduation_topics/:Id" exact
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<GraduationTopics {...this.props} {...props} {...this.state} />)
|
|
|
|
|
(props) => (<ListPageIndex {...this.props} {...props} {...this.state} />)
|
|
|
|
|
}></Route>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -559,9 +559,9 @@ class CoursesIndex extends Component{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{/* 毕设任务列表 https://www.trustie.net/issues/19981 */}
|
|
|
|
|
<Route path="/courses/:coursesId/graduation_tasks/:Id"
|
|
|
|
|
<Route path="/courses/:coursesId/graduation_tasks/:Id" exact
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<GraduationTasks {...this.props} {...props} {...this.state} />)
|
|
|
|
|
(props) => (<ListPageIndex {...this.props} {...props} {...this.state} />)
|
|
|
|
|
}
|
|
|
|
|
></Route>
|
|
|
|
|
|
|
|
|
|