|
|
|
@ -75,12 +75,6 @@ class CoursesWorkIndex extends Component{
|
|
|
|
|
(props) => (<CommonWorkDetailIndex {...this.props} {...props} {...this.state} />)
|
|
|
|
|
}
|
|
|
|
|
></Route>
|
|
|
|
|
<Route exact path="/courses/:coursesId/common_homeworks/new"
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<NewWork {...this.props} {...props} {...this.state} />)
|
|
|
|
|
}
|
|
|
|
|
></Route>
|
|
|
|
|
|
|
|
|
|
{/* 作业问答 */}
|
|
|
|
|
<Route exact path="/courses/:coursesId/common_homeworks/:workId/question"
|
|
|
|
|
render={
|
|
|
|
@ -120,7 +114,7 @@ class CoursesWorkIndex extends Component{
|
|
|
|
|
(props) => (<NewWork {...this.props} {...props} {...this.state} />)
|
|
|
|
|
}
|
|
|
|
|
></Route>
|
|
|
|
|
<Route exact path="/courses/:coursesId/common_homeworks/new"
|
|
|
|
|
<Route exact path="/courses/:coursesId/common_homeworks/:categroy_id/new"
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<NewWork {...this.props} {...props} {...this.state} />)
|
|
|
|
|
}
|
|
|
|
|