wwf
2 天以前 a430284aa21e3ae1f0d5654e55b2ad2852519cc2
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}