修改bug
This commit is contained in:
parent
78d91fa36b
commit
ba316af6d4
@ -605,10 +605,19 @@
|
||||
// 转换回数组
|
||||
const mergedArray = Array.from(mergedMap.values());
|
||||
|
||||
|
||||
const mergedArray2 = allSubject.map(item1 => {
|
||||
const matchingItem2 = obj.scoreInfo.find(item2 => item2.subjectId === item1.id);
|
||||
return {
|
||||
...item1,
|
||||
...matchingItem2
|
||||
};
|
||||
});
|
||||
|
||||
console.log(mergedArray,'asdsad');
|
||||
|
||||
|
||||
$.each(mergedArray, function (index, item) {
|
||||
$.each(mergedArray2, function (index, item) {
|
||||
|
||||
$(".Allsub").append(
|
||||
`
|
||||
@ -718,7 +727,6 @@
|
||||
return
|
||||
}
|
||||
});
|
||||
|
||||
AllSub(name)
|
||||
|
||||
}).catch(error => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user