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/datasets/create/website/jina-reader/base/input.tsx | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/components/datasets/create/website/jina-reader/base/input.tsx b/app/components/datasets/create/website/jina-reader/base/input.tsx index bc7a15a..7d2d2b6 100644 --- a/app/components/datasets/create/website/jina-reader/base/input.tsx +++ b/app/components/datasets/create/website/jina-reader/base/input.tsx @@ -20,7 +20,7 @@ const handleChange = useCallback((e: React.ChangeEvent<HTMLInputElement>) => { const value = e.target.value if (isNumber) { - let numberValue = Number.parseInt(value, 10) // integer only + let numberValue = parseInt(value, 10) // integer only if (isNaN(numberValue)) { onChange('') return @@ -50,7 +50,7 @@ {...otherOption} value={value} onChange={handleChange} - className='flex h-9 w-full rounded-lg bg-gray-100 px-2 py-1 text-xs leading-normal caret-primary-600 placeholder:text-gray-400 hover:bg-gray-100 focus:bg-gray-50 focus:ring-1 focus:ring-inset focus:ring-gray-200 focus-visible:outline-none' + className='flex h-9 w-full py-1 px-2 rounded-lg text-xs leading-normal bg-gray-100 caret-primary-600 hover:bg-gray-100 focus:ring-1 focus:ring-inset focus:ring-gray-200 focus-visible:outline-none focus:bg-gray-50 placeholder:text-gray-400' placeholder={placeholder} /> ) -- Gitblit v1.8.0