diff --git a/src/renderer/src/views/classTask/container/classOverview/knowledge.vue b/src/renderer/src/views/classTask/container/classOverview/knowledge.vue index 9f03d0d..c221cba 100644 --- a/src/renderer/src/views/classTask/container/classOverview/knowledge.vue +++ b/src/renderer/src/views/classTask/container/classOverview/knowledge.vue @@ -49,6 +49,7 @@ const getKonwledge = () => { konwledge.value.forEach(item => { let sunRate = 0 let num = 0 + if(getScoreRate.length === 0) return getScoreRate.forEach(item2 => { if(item.id === item2.id){ sunRate += extractedNumber(item2.rate)