fix:价值透析数据修改;

This commit is contained in:
小杨 2024-10-25 16:40:53 +08:00
parent eaaba2b5e8
commit 25acd398ff
1 changed files with 1 additions and 0 deletions

View File

@ -49,6 +49,7 @@ const getKonwledge = () => {
konwledge.value.forEach(item => { konwledge.value.forEach(item => {
let sunRate = 0 let sunRate = 0
let num = 0 let num = 0
if(getScoreRate.length === 0) return
getScoreRate.forEach(item2 => { getScoreRate.forEach(item2 => {
if(item.id === item2.id){ if(item.id === item2.id){
sunRate += extractedNumber(item2.rate) sunRate += extractedNumber(item2.rate)