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/workflow/nodes/_base/components/input-number-with-slider.tsx |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/app/components/workflow/nodes/_base/components/input-number-with-slider.tsx b/app/components/workflow/nodes/_base/components/input-number-with-slider.tsx
index e0762df..c64f980 100644
--- a/app/components/workflow/nodes/_base/components/input-number-with-slider.tsx
+++ b/app/components/workflow/nodes/_base/components/input-number-with-slider.tsx
@@ -34,14 +34,14 @@
   }, [defaultValue, max, min, onChange, value])
 
   const handleChange = useCallback((e: React.ChangeEvent<HTMLInputElement>) => {
-    onChange(Number.parseFloat(e.target.value))
+    onChange(parseFloat(e.target.value))
   }, [onChange])
 
   return (
-    <div className='flex h-8 items-center justify-between space-x-2'>
+    <div className='flex justify-between items-center h-8 space-x-2'>
       <input
         value={value}
-        className='block h-8 w-12 shrink-0 appearance-none rounded-lg bg-components-input-bg-normal pl-3 text-[13px] text-components-input-text-filled outline-none'
+        className='shrink-0 block pl-3 w-12 h-8 appearance-none outline-none rounded-lg bg-components-input-bg-normal text-[13px] text-components-input-text-filled'
         type='number'
         min={min}
         max={max}

--
Gitblit v1.8.0