แก้ เเสดงNaN

This commit is contained in:
setthawutttty 2024-12-26 12:51:46 +07:00
parent 8876d481a9
commit 35e09e1b0b
2 changed files with 2 additions and 2 deletions

View file

@ -160,7 +160,7 @@ function getDevelop() {
(sum: number, e: any) => sum + e.summary,
0
);
store.devScoreVal = total / rows.value.length;
store.devScoreVal = data.length !== 0 ? total / rows.value.length : 0;
});
}