Commit ae2d9734 authored by liujiangnan's avatar liujiangnan

fix: 定时器问题

parent 09041f46
......@@ -191,7 +191,7 @@ export default class Cartoon {
}
if(videoPlayer) {
this._timeoutIds(setTimeout(()=>{
this._timeoutIds.push(setTimeout(()=>{
videoPlayer.play()
videoPlayer.node.off("completed")
videoPlayer.node.on("completed", ()=>{
......
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