Commit 526151d7 authored by 范雪寒's avatar 范雪寒

feat: 删除restart

parent 89fadf95
...@@ -385,12 +385,12 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -385,12 +385,12 @@ export default class SceneComponent extends MyCocosSceneComponent {
gameOver(isSuc){ gameOver(isSuc){
if(isSuc){ if(isSuc){
this.questionIndex=0; this.questionIndex=0;
this.overN.active=true; // this.overN.active=true;
let sucN=this.overN.getChildByName("suc") // let sucN=this.overN.getChildByName("suc")
let failN=this.overN.getChildByName("fail") // let failN=this.overN.getChildByName("fail")
sucN.active=true; // sucN.active=true;
failN.active=false; // failN.active=false;
// this.asyncPlayAudioByUrl("suc") // this.asyncPlayAudioByUrl("suc")
onHomeworkFinish({ onHomeworkFinish({
quesitons:this.resultQuesitons quesitons:this.resultQuesitons
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment