We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49647ea commit 930817aCopy full SHA for 930817a
ui/src/utils/utils.ts
@@ -79,5 +79,5 @@ export function getAttrsArray(array: Array<any>, attr: string) {
79
80
// 求和
81
export function getSum(array: Array<any>) {
82
- return array.reduce((totol, item) => totol + item, 0)
+ return array.reduce((total, item) => total + item, 0)
83
}
0 commit comments