bug修改

This commit is contained in:
zhaofang
2022-07-13 11:05:20 +08:00
parent 18d00e4b54
commit 1d8588b3d1
3 changed files with 4 additions and 4 deletions

View File

@@ -15,7 +15,7 @@
<router-link :to="'/case/detail?id='+item.cases.id" > {{item.cases.summary}}</router-link>
</div>
<div class="article-info-tools">
<authorInfo :avatar="item.avatar" :name="item.name" :info="item.orgInfo"></authorInfo>
<authorInfo :avatar="item.avatar" :name="item.name" :info="item.orgInfo" :sex="item.sex"></authorInfo>
<span style="margin-top:2px">发布时间{{ item.cases.sysCreateTime || item.publishTime | timeFilter }}</span>
<span style="margin-top:2px">收藏时间{{ item.time || item.favoritesTime | timeFilter }}</span>
<!-- <interactBar :type="0" :data="item.cases" :shares="false" :views="false"></interactBar> -->

View File

@@ -547,7 +547,7 @@
apiCourse.updateContentName({id:this.content.id,name:value}).then(rs=>{
if(rs.status!=200){
console.log('更新名称失败:'+rs.message);
}saveData
}
})
},
// 作业上传

View File

@@ -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);
}
//计算顺序值
},