Commit 31c2dab8 authored by limingzhe's avatar limingzhe

fix: 结束动画删除

parent 87761362
...@@ -1420,7 +1420,6 @@ cc.Class({ ...@@ -1420,7 +1420,6 @@ cc.Class({
// } // }
this.showPhotoSuccess(); this.showPhotoSuccess();
onHomeworkFinish();
}, },
...@@ -2331,19 +2330,19 @@ cc.Class({ ...@@ -2331,19 +2330,19 @@ cc.Class({
console.log(' in showPhotoSuccess') console.log(' in showPhotoSuccess')
this.startFinishAnim();
this.startFinishAnim();
// playAudio(this.audioTipSuccess.clip)
this.endTesting(); this.endTesting();
}, },
startFinishAnim() { startFinishAnim() {
if (!this.data.skeJsonData.url) { if (!this.data.skeJsonData.url || true) {
playAudioByUrl(this.data.end_audio_url, () => { playAudioByUrl(this.data.end_audio_url, () => {
onHomeworkFinish();
}) })
return; return;
} }
......
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