diff --git a/public/react/src/modules/courses/busyWork/Index.js b/public/react/src/modules/courses/busyWork/Index.js index 1f03551fa..e109c36f5 100644 --- a/public/react/src/modules/courses/busyWork/Index.js +++ b/public/react/src/modules/courses/busyWork/Index.js @@ -75,12 +75,6 @@ class CoursesWorkIndex extends Component{ (props) => () } > - () - } - > - {/* 作业问答 */} () } > - () } diff --git a/public/react/src/modules/courses/busyWork/IndexGroup.js b/public/react/src/modules/courses/busyWork/IndexGroup.js index 0a4415f2f..cfe38766a 100644 --- a/public/react/src/modules/courses/busyWork/IndexGroup.js +++ b/public/react/src/modules/courses/busyWork/IndexGroup.js @@ -117,7 +117,7 @@ class CoursesWorkIndex extends Component{ (props) => () } > - () } diff --git a/public/react/src/modules/courses/busyWork/common.js b/public/react/src/modules/courses/busyWork/common.js index 902e5f34d..70e059f17 100644 --- a/public/react/src/modules/courses/busyWork/common.js +++ b/public/react/src/modules/courses/busyWork/common.js @@ -67,9 +67,9 @@ export function RouteHOC(options = {}) { this.props.history.push(`/courses/${_courseId}/${secondName}/${_workId}/${_studentWorkId}/appraise`) } } - toNewPage = (courseId, workId) => { + toNewPage = (courseId) => { const secondName = this.getModuleName() - this.props.history.push(`/courses/${courseId.coursesId}/${secondName}/new`) + this.props.history.push(`/courses/${courseId.coursesId}/${secondName}/${courseId.categroy_id}/new`) } toListPage = (_courseId, _workId) => { const secondName = this.getModuleName()