|
|
|
@ -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({
|
|
|
|
|