|
|
@ -302,7 +302,8 @@ class studentsList extends Component{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
componentDidUpdate(prevProps) {
|
|
|
|
componentDidUpdate(prevProps) {
|
|
|
|
if (prevProps.match.params.course_group_id != this.props.match.params.course_group_id) {
|
|
|
|
if (prevProps.match.params.course_group_id != this.props.match.params.course_group_id) {
|
|
|
|
this.setState({checkBoxValues: []})
|
|
|
|
this.setState({checkBoxValues: [], checkAllValue: false })
|
|
|
|
|
|
|
|
|
|
|
|
this.fetchAll(1)
|
|
|
|
this.fetchAll(1)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// 加载了2次
|
|
|
|
// 加载了2次
|
|
|
|