diff --git a/src/views/projectFront/examSystem2/learningMaterial/learningMaterial.vue b/src/views/projectFront/examSystem2/learningMaterial/learningMaterial.vue
index 506b98b6..db86bfc0 100644
--- a/src/views/projectFront/examSystem2/learningMaterial/learningMaterial.vue
+++ b/src/views/projectFront/examSystem2/learningMaterial/learningMaterial.vue
@@ -35,19 +35,21 @@
-
+
+ 需要注释
+
+ 需要注释
-
+ -->
@@ -317,7 +319,7 @@ export default {
editBefore(item,title){
this.title = title
this.addCourseForm = JSON.parse(JSON.stringify(item))
- this.coverFileList = JSON.parse(item.coverImg)
+ // this.coverFileList = JSON.parse(item.coverImg)
this.materialFileList = JSON.parse(item.fileUrl)
this.dialogVisible = true
},
@@ -405,10 +407,10 @@ export default {
this.$message.error('请上传视频文件')
return
}
- if(!this.addCourseForm.coverImg){
- this.$message.error('请上传课程封面')
- return
- }
+ // if(!this.addCourseForm.coverImg){
+ // this.$message.error('请上传课程封面')
+ // return
+ // }
if(this.title === '新增课程'){
addCourseApi(this.addCourseForm).then((res)=>{
if (res.code == 200) {