From 77950e48c76f4a3b29d01831d43039caba29888a Mon Sep 17 00:00:00 2001
From: wwf <1971391498@qq.com>
Date: 星期二, 18 十一月 2025 14:12:42 +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