fix bug kpi

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-12-17 10:06:17 +07:00
parent 36d2ac3fb8
commit 4be4414175

View file

@ -156,10 +156,11 @@ function getDevelop() {
.then((res) => {
const data = res.data.result;
rows.value = data;
store.devScoreVal = rows.value.reduce(
const total = rows.value.reduce(
(sum: number, e: any) => sum + e.summary,
0
);
store.devScoreVal = total / rows.value.length;
});
}