fix: typo-total拼写错误 (#76)

This commit is contained in:
fit2cloud-chenyw 2024-04-15 14:42:57 +08:00 committed by GitHub
parent 49647ea4f9
commit 930817a3c5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)
}