fix bug kpi
This commit is contained in:
parent
36d2ac3fb8
commit
4be4414175
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue