Переглянути джерело

fix: 修复toolBtn2函数缺少tool参数的问题

lsc 1 місяць тому
батько
коміт
818da06153
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      src/components/pages/pptEasy/addCourse3.vue

+ 1 - 1
src/components/pages/pptEasy/addCourse3.vue

@@ -3316,7 +3316,7 @@ export default {
     window.openVideoUploadDialog = () => this.openVideoUploadDialog(); // 打开视频上传弹窗
     window.openApplicationCenter = () => this.openApplicationCenter(); // 打开应用中心弹窗
     window.toolBtn = (type, id) => this.toolBtn(type, id); // 工具按钮点击事件
-    window.toolBtn2 = (type, id) => this.toolBtn2(type, id, tool); // 工具按钮点击事件
+    window.toolBtn2 = (type, id, tool) => this.toolBtn2(type, id, tool); // 工具按钮点击事件
     window.previewVideo = (id) => this.previewVideo(id); // 预览视频
     window.goBack = () => this.goTo(`/course?userid=${this.userid}&oid=${this.oid}&org=${this.org}&role=${this.role}`);
     window.lastSteps = () => this.lastSteps(); // 上一步