mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-29 07:52:50 +00:00
fix: typo-total拼写错误 (#76)
This commit is contained in:
parent
49647ea4f9
commit
930817a3c5
|
|
@ -79,5 +79,5 @@ export function getAttrsArray(array: Array<any>, attr: string) {
|
|||
|
||||
// 求和
|
||||
export function getSum(array: Array<any>) {
|
||||
return array.reduce((totol, item) => totol + item, 0)
|
||||
return array.reduce((total, item) => total + item, 0)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue