浏览代码

fix: crawl options max length can not set 0 (#7758)

Co-authored-by: Yi <yxiaoisme@gmail.com>
Joel 8 月之前
父节点
当前提交
7541a492b7

+ 1 - 1
web/app/components/datasets/create/website/firecrawl/base/field.tsx

@@ -38,7 +38,7 @@ const Field: FC<Props> = ({
             popupContent={
             popupContent={
               <div className='w-[200px]'>{tooltip}</div>
               <div className='w-[200px]'>{tooltip}</div>
             }
             }
-            popupClassName='relative top-[3px] w-3 h-3 ml-1'
+            triggerClassName='ml-0.5 w-4 h-4'
           />
           />
         )}
         )}
       </div>
       </div>

+ 1 - 1
web/app/components/datasets/create/website/firecrawl/base/input.tsx

@@ -9,7 +9,7 @@ type Props = {
   isNumber?: boolean
   isNumber?: boolean
 }
 }
 
 
-const MIN_VALUE = 1
+const MIN_VALUE = 0
 
 
 const Input: FC<Props> = ({
 const Input: FC<Props> = ({
   value,
   value,