diff --git a/public/react/src/modules/courses/videostatistics/component/Videostatisticscomtwo.js b/public/react/src/modules/courses/videostatistics/component/Videostatisticscomtwo.js index d0d1ec9c4..90927be6a 100644 --- a/public/react/src/modules/courses/videostatistics/component/Videostatisticscomtwo.js +++ b/public/react/src/modules/courses/videostatistics/component/Videostatisticscomtwo.js @@ -299,7 +299,7 @@ class Videostatisticscomtwo extends Component { if (this.props.isAdmin()) { //老师 const CourseId = this.props.match.params.coursesId; - if (groupsid) { + if (this.state.groupsid) { data = { id: CourseId, page: this.state.page, @@ -338,7 +338,7 @@ class Videostatisticscomtwo extends Component { if (this.props.isAdmin()) { //老师 const CourseId = this.props.match.params.coursesId; - if (groupsid) { + if (this.state.groupsid) { data = { id: CourseId, page: this.state.page,