From 3192aec2e575947d0ac2d10d8cf9385c6d7f4eaf Mon Sep 17 00:00:00 2001 From: "@fawn-nine" <1271023382@qq.com> Date: Wed, 26 Jun 2024 11:47:55 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9F=B3=E8=A7=86=E9=A2=91=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/course/chapter-add-or-update.vue | 14 +++++++++----- src/views/modules/course/video-add-or-update.vue | 4 ++++ 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/src/views/modules/course/chapter-add-or-update.vue b/src/views/modules/course/chapter-add-or-update.vue index 108b08f..1d208e6 100644 --- a/src/views/modules/course/chapter-add-or-update.vue +++ b/src/views/modules/course/chapter-add-or-update.vue @@ -91,7 +91,8 @@ -
+ +
删除
- -
+ + +
+
添加一条音/视频 -
+
取消 @@ -312,8 +315,9 @@ export default { this.chapterId = this.dataForm.id if(this.dataForm.videoList && this.dataForm.videoList.length > 0){ this.video_audio_url = [...this.dataForm.videoList] + console.log('dedao',this.video_audio_url) }else{ - // this.video_audio_url = [] + this.video_audio_url = [] } if (this.dataForm.imgUrl && this.dataForm.imgUrl != "") { var img = { diff --git a/src/views/modules/course/video-add-or-update.vue b/src/views/modules/course/video-add-or-update.vue index 25c14b7..6f9df2f 100644 --- a/src/views/modules/course/video-add-or-update.vue +++ b/src/views/modules/course/video-add-or-update.vue @@ -84,6 +84,10 @@ { dictType: 1, dictValue: "加密" + }, + { + dictType: 2, + dictValue: "mp3" } ], props: {