diff --git a/public/react/src/context/TPIContextProvider.js b/public/react/src/context/TPIContextProvider.js index 449f79a7a..52aebcf7c 100644 --- a/public/react/src/context/TPIContextProvider.js +++ b/public/react/src/context/TPIContextProvider.js @@ -571,6 +571,9 @@ pop_box_new(htmlvalue, 480, 182); } closeTaskResultLayer() { this.setState({ + game: (this.state.game.status == 2 ? update(this.state.game, { + isPassThrough: { $set: true }, + }) : this.state.game) , currentGamePassed: false }) } @@ -581,7 +584,7 @@ pop_box_new(htmlvalue, 480, 182); let currentGamePassed = false if (challenge_chooses_count === choose_correct_num) { game.status = 2; - game.isPassThrough = true + // game.isPassThrough = true game.next_game = next_game; currentGamePassed = true; @@ -734,7 +737,7 @@ pop_box_new(htmlvalue, 480, 182); compileSuccess && this.language_display(response); if (currentGamePassed) { game.status = 2; - game.isPassThrough = true + // game.isPassThrough = true game.next_game = next_game; } else { this.showDialog({ diff --git a/public/react/src/modules/courses/members/modal/CourseGroupChooserModal.js b/public/react/src/modules/courses/members/modal/CourseGroupChooserModal.js index 3f4f1a0ca..2f08d08a1 100644 --- a/public/react/src/modules/courses/members/modal/CourseGroupChooserModal.js +++ b/public/react/src/modules/courses/members/modal/CourseGroupChooserModal.js @@ -105,4 +105,4 @@ function CourseGroupChooserModal({ course_groups = [], isAdminOrCreator, item, i ) } -export default useMemo(CourseGroupChooserModal) \ No newline at end of file +export default (CourseGroupChooserModal) \ No newline at end of file diff --git a/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js b/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js index a83fec2ee..1823f43bb 100644 --- a/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js +++ b/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js @@ -1591,6 +1591,7 @@ class Listofworksstudentone extends Component { // 设置数据 seacthdatat = (teacherdata,student_works,work_efficiency,course_group_info) => { + debugger let {page, limit} = this.state; let datalist = []; let columns = this.state.columns; @@ -2343,17 +2344,15 @@ class Listofworksstudentone extends Component {