This commit is contained in:
zhaofang
2022-10-20 17:13:20 +08:00
parent 80b019f086
commit 6b78bebff1
6 changed files with 24 additions and 19 deletions

View File

@@ -342,11 +342,6 @@
apiNote.ids(ids).then(res=>{
if(res.status == 200) {
list.forEach((item, index) => {
let score = item.contentInfo.substr(item.contentInfo.length -1,1);
if(Number(score) > 0) {
item.score = score;
}
res.result.some(con => {
if (con.id == item.contentId) {
item.info = con;
@@ -355,8 +350,6 @@
return false;
}
});
item.contentInfo = item.contentInfo.slice(0,item.contentInfo.length -1);
});
}
})