黄琪勇 1 year ago
parent
commit
90fed6e988
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/coursewarePlay/videoPlay/videoPlay.vue

+ 1 - 1
src/views/coursewarePlay/videoPlay/videoPlay.vue

@@ -149,7 +149,7 @@ function initVideo() {
       loop: false
    })
    // 初始化完成
-   playerVm.on("ready", () => {
+   playerVm.ready(() => {
       console.log("播放器初始化完成")
       emits("ready")
    })