Merge pull request 'fix:知识点分数修改;' (#385) from yangws into main

Reviewed-on: #385
This commit is contained in:
yangws 2024-10-31 16:37:26 +08:00
commit 8cffee606a
1 changed files with 1 additions and 1 deletions

View File

@ -242,7 +242,7 @@ const initData = () => {
} }
// def: type active: points: , accSum // def: type active: points: , accSum
return { def: o, id: o.id, type: o.worktype, active: [], points, accSum, rightSum, children,hasAnswers,timeAnalyse,score:o.score } return { def: o, id: o.id, type: o.worktype, active: [], points, accSum, rightSum, children,hasAnswers,timeAnalyse,score:o.workScore }
}) })
if (data.length === 0) return if (data.length === 0) return
useOverview.getAllData([...data]) useOverview.getAllData([...data])