mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-17 14:56:44 +08:00
bug修改
This commit is contained in:
@@ -547,7 +547,7 @@
|
||||
apiCourse.updateContentName({id:this.content.id,name:value}).then(rs=>{
|
||||
if(rs.status!=200){
|
||||
console.log('更新名称失败:'+rs.message);
|
||||
}saveData
|
||||
}
|
||||
})
|
||||
},
|
||||
// 作业上传
|
||||
|
||||
@@ -538,7 +538,6 @@ export default {
|
||||
if(!img.path){
|
||||
return;
|
||||
}
|
||||
//console.log(img);
|
||||
this.dlgFileChoose.show=false;
|
||||
this.courseInfo.coverImg = img.path;
|
||||
this.courseCoverurl = this.fileUrl+img.path;
|
||||
@@ -1205,7 +1204,8 @@ export default {
|
||||
if (index == -1) {
|
||||
this.contentInfo.list.push(cc);
|
||||
} else {
|
||||
this.contentInfo.list[index] = cc;
|
||||
// this.contentInfo.list[index] = cc;
|
||||
this.contentInfo.list.splice(index,1,cc);
|
||||
}
|
||||
//计算顺序值
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user