From a430284aa21e3ae1f0d5654e55b2ad2852519cc2 Mon Sep 17 00:00:00 2001 From: wwf <yearningwang@iqtogether.com> Date: 星期三, 04 六月 2025 15:17:49 +0800 Subject: [PATCH] 初始化 --- app/components/base/param-item/score-threshold-item.tsx | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/app/components/base/param-item/score-threshold-item.tsx b/app/components/base/param-item/score-threshold-item.tsx index b5557c8..947961a 100644 --- a/app/components/base/param-item/score-threshold-item.tsx +++ b/app/components/base/param-item/score-threshold-item.tsx @@ -31,7 +31,7 @@ }) => { const { t } = useTranslation() const handleParamChange = (key: string, value: number) => { - let notOutRangeValue = Number.parseFloat(value.toFixed(2)) + let notOutRangeValue = parseFloat(value.toFixed(2)) notOutRangeValue = Math.max(VALUE_LIMIT.min, notOutRangeValue) notOutRangeValue = Math.min(VALUE_LIMIT.max, notOutRangeValue) onChange(key, notOutRangeValue) -- Gitblit v1.8.0