mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-12 04:16:45 +08:00
bug修改
This commit is contained in:
@@ -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> -->
|
||||
|
||||
@@ -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