|
|
|
@@ -33,7 +33,6 @@ export const ChunkMethodItem = memo(function ChunkMethodItem() { |
|
|
|
const { t } = useTranslate('knowledgeConfiguration'); |
|
|
|
const form = Form.useFormInstance(); |
|
|
|
const handleChunkMethodSelectChange = useHandleChunkMethodSelectChange(form); |
|
|
|
const disabled = useHasParsedDocument(); |
|
|
|
const parserList = useSelectChunkMethodList(); |
|
|
|
|
|
|
|
return ( |
|
|
|
@@ -45,7 +44,6 @@ export const ChunkMethodItem = memo(function ChunkMethodItem() { |
|
|
|
> |
|
|
|
<Select |
|
|
|
placeholder={t('chunkMethodPlaceholder')} |
|
|
|
disabled={disabled} |
|
|
|
onChange={handleChunkMethodSelectChange} |
|
|
|
options={parserList} |
|
|
|
></Select> |