mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-12 04:16:45 +08:00
提交
This commit is contained in:
@@ -371,7 +371,7 @@
|
|||||||
if(res.status == 200 && res.result.list.length > 0) {
|
if(res.status == 200 && res.result.list.length > 0) {
|
||||||
let ids = [];
|
let ids = [];
|
||||||
res.result.list.forEach(it=>{
|
res.result.list.forEach(it=>{
|
||||||
ids.push(item.sysCreateAid);
|
ids.push(it.sysCreateAid);
|
||||||
it.replyList = [];
|
it.replyList = [];
|
||||||
it.avatar='';
|
it.avatar='';
|
||||||
it.orgInfo='';
|
it.orgInfo='';
|
||||||
@@ -380,6 +380,7 @@
|
|||||||
})
|
})
|
||||||
// let ids = res.result.list.map(item=>item.sysCreateAid);
|
// let ids = res.result.list.map(item=>item.sysCreateAid);
|
||||||
const noReapetIds=[...new Set(ids)]
|
const noReapetIds=[...new Set(ids)]
|
||||||
|
console.log(noReapetIds,'noReapetIds');
|
||||||
this.loadAuthorInfo(res.result.list,noReapetIds);
|
this.loadAuthorInfo(res.result.list,noReapetIds);
|
||||||
item.replyList.push(...res.result.list);
|
item.replyList.push(...res.result.list);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user