Commit 10ae56b9 authored by 李维's avatar 李维

修复小猫点击后一直说话的问题

parent 80f292fb
......@@ -366,7 +366,9 @@ cc.Class({
this.showSubmitBtn();
let questionIdx = this.status.currentQuestionIdx;
const questionAudioUrl = this.data.question_arr[questionIdx].audio_url;
this.playAudioByUrl(questionAudioUrl);
this.playAudioByUrl(questionAudioUrl, ()=>{
playDragonBoneAnimation(cat, 'normal', -1);
});
}
});
},
......
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