Compare commits

..

No commits in common. "0433febf06338e06f291deca06b5872b759b7969" and "7da598b30eef993a178c2a9407fec74bc478e88a" have entirely different histories.

1 changed files with 5 additions and 2 deletions

View File

@ -79,9 +79,12 @@ watch(() => useOverview.tableList,() => {
return acc + Number(cur.score)
},0)
//
avatarScore.value = hasStudents.value.reduce((acc, cur) => {
const studentList = useOverview.tableList.filter(item => useOverview.allData[0].hasAnswers.includes(item.studentid))
avatarScore.value = studentList.reduce((acc, cur) => {
return acc + Number(cur.getScore)
},0) / hasStudents.value.length
},0) / studentList.length
console.log(avatarScore.value,'useOverview.tableList');
//
getKonwledge()