Skip to content

Commit 930817a

Browse files
fix: typo-total拼写错误 (#76)
1 parent 49647ea commit 930817a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/utils/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,5 +79,5 @@ export function getAttrsArray(array: Array<any>, attr: string) {
7979

8080
// 求和
8181
export function getSum(array: Array<any>) {
82-
return array.reduce((totol, item) => totol + item, 0)
82+
return array.reduce((total, item) => total + item, 0)
8383
}

0 commit comments

Comments
 (0)