Sfoglia il codice sorgente

feat: 添加视频预览功能

lsc 4 giorni fa
parent
commit
0886147f8a
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      src/components/pages/pptEasy/addCourse2.vue

+ 1 - 0
src/components/pages/pptEasy/addCourse2.vue

@@ -2925,6 +2925,7 @@ export default {
     window.openVideoUploadDialog = () => this.openVideoUploadDialog(); // 打开视频上传弹窗
     window.openApplicationCenter = () => this.openApplicationCenter(); // 打开应用中心弹窗
     window.toolBtn = (type,id) => this.toolBtn(type,id); // 工具按钮点击事件
+    window.previewVideo = (id) => this.previewVideo(id); // 预览视频
   }
 };
 </script>