Commit 7a0077bc authored by 李维's avatar 李维

Bug fix

parent b7bc70cd
......@@ -595,7 +595,7 @@ export class PlayComponent implements OnInit, OnDestroy {
element.timeoutID = setTimeout(() => {
this.g_cartoon.stopAllAudio()
this.g_cartoon.playAudio(this.g_formData.wordLeft_audio_url)
}, 500);
}, this.g_dragDelay);
}, ()=>{
if(element.timeoutID) {
clearTimeout(element.timeoutID)
......@@ -653,7 +653,7 @@ export class PlayComponent implements OnInit, OnDestroy {
element.timeoutID = setTimeout(() => {
this.g_cartoon.stopAllAudio()
this.g_cartoon.playAudio(this.g_formData.wordMiddle_audio_url)
}, 500);
}, this.g_dragDelay);
}, ()=>{
if(element.timeoutID) {
clearTimeout(element.timeoutID)
......
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