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: {