แก้ เเสดงNaN
This commit is contained in:
parent
8876d481a9
commit
35e09e1b0b
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue