mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-12 12:26:44 +08:00
加一个是否已删除的值
This commit is contained in:
@@ -96,8 +96,9 @@
|
||||
},
|
||||
jumpDetail(data) {
|
||||
if(!data.contentId){
|
||||
return;
|
||||
return;
|
||||
}
|
||||
|
||||
this.$router.push({ path: '/course/detail?id=', query: { id: data.contentId } });
|
||||
}
|
||||
}
|
||||
|
||||
@@ -230,6 +230,7 @@
|
||||
const noReapetIds = [...new Set(ids)];
|
||||
res.result.list.forEach(item=>{
|
||||
item.info = {};
|
||||
item.deleted=false;
|
||||
item.authorInfo = {
|
||||
aid: "",
|
||||
name: "",
|
||||
@@ -502,6 +503,7 @@
|
||||
res.result.some(con => {
|
||||
if (con.courseId == item.contentId) {
|
||||
item.info = con;
|
||||
item.deleted=con.deleted;
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user