From 930817a3c5abff6fb79141feb17254e7d727be26 Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw <67260074+fit2cloud-chenyw@users.noreply.github.com> Date: Mon, 15 Apr 2024 14:42:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20typo-total=E6=8B=BC=E5=86=99=E9=94=99?= =?UTF-8?q?=E8=AF=AF=20(#76)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/src/utils/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/utils/utils.ts b/ui/src/utils/utils.ts index 370b7efbc..c431d1ad7 100644 --- a/ui/src/utils/utils.ts +++ b/ui/src/utils/utils.ts @@ -79,5 +79,5 @@ export function getAttrsArray(array: Array, attr: string) { // 求和 export function getSum(array: Array) { - return array.reduce((totol, item) => totol + item, 0) + return array.reduce((total, item) => total + item, 0) }