zhouwx
2024-07-18 026b72ee0218e9cf93c2ba2d4f944e7a7d3b56ae
src/views/onlineEducation/courseManage/courseResource/componets/viewVideo.vue
@@ -9,8 +9,8 @@
        :close-on-press-escape="false"
        :close-on-click-modal="false"
    >
      <div style="text-align: center">
        <video v-if="showVideo" ref="videoPlayer" class="video-js" style="margin: auto auto"></video>
      <div style="text-align: center" v-if="showVideo">
        <video  ref="videoPlayer" class="video-js" style="margin: auto auto"></video>
      </div>
    </el-dialog>
  </div>
@@ -81,9 +81,13 @@
  getVideo();
}
const handleClose = () => {
  // if(myPlayer.value){
  //   myPlayer.value.dispose();
  //   resourcePath.value = ''
  // }
  showVideo.value = false;
  resourcePath.value = '';
  dialogVisible.value = false;
  emit("getList")