fix แบบประเมิน

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-12-18 15:02:10 +07:00
parent d9def55941
commit ebfd0c67a9

View file

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