fix แบบประเมิน
This commit is contained in:
parent
d9def55941
commit
ebfd0c67a9
1 changed files with 3 additions and 1 deletions
|
|
@ -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;
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue