Commit 502ac4fe authored by liujiangnan's avatar liujiangnan

fix: 不自动播放问题

parent dc6d2f4b
......@@ -2082,12 +2082,8 @@ export class PlayComponent implements OnInit, OnDestroy {
};
audio.hasEndedEvent = true;
}
setTimeout(() => {
console.log('========1111========='+this.answerIdIndex);
audio.load();
audio.play();
console.log('========2222========='+this.answerIdIndex);
}, this.delayPicSoundShowTime);
audio.load();
audio.play();
} else {
this.showPicSound();
}
......
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