Commit 850ac256 authored by Guo Yuhang's avatar Guo Yuhang

add:finish taget

Signed-off-by: Guo Yuhang's avatar郭宇航 <guoyuhang@iplayabc.com>
parent c86fc58a
...@@ -623,6 +623,7 @@ cc.Class({ ...@@ -623,6 +623,7 @@ cc.Class({
if (isCanFinish) { if (isCanFinish) {
this.playAudioByUrl(this.data.finishAudio,()=>{ this.playAudioByUrl(this.data.finishAudio,()=>{
this.showRestartBtn(); this.showRestartBtn();
onHomeworkFinish();
}); });
this.submitBtnClick(); this.submitBtnClick();
} }
......
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