This commit is contained in:
zhaofang
2022-10-29 14:01:08 +08:00
parent 6a259ef233
commit e6e6ca2fb1

View File

@@ -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);
} }