diff --git a/public/react/src/modules/courses/Index.js b/public/react/src/modules/courses/Index.js
index 553db6090..c385af3b7 100644
--- a/public/react/src/modules/courses/Index.js
+++ b/public/react/src/modules/courses/Index.js
@@ -452,6 +452,11 @@ class CoursesIndex extends Component{
(props) => ()
}
>
+ ()
+ }
+ >
{/*课堂讨论*/}
{/* 普通作业 */}
- ()
}
>
{/* 分组作业 */}
- ()
}
diff --git a/public/react/src/modules/courses/busyWork/commonWork.js b/public/react/src/modules/courses/busyWork/commonWork.js
index 5ba97b03a..9f3d8dda0 100644
--- a/public/react/src/modules/courses/busyWork/commonWork.js
+++ b/public/react/src/modules/courses/busyWork/commonWork.js
@@ -71,6 +71,13 @@ class commonWork extends Component{
sureDelClasses(){
}
+ componentDidUpdate(prevProps, prevState) {
+ debugger;
+ if (prevProps.match.path != this.props.match.path) {
+ this.componentDidMount()
+ }
+ }
+
componentDidMount(){
this.setState({