mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-06-30 08:55:12 +08:00
### What problem does this PR solve? Feat: Even if the knowledge base has slices, the chunk method can be changed #7115 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
parent
64dd187498
commit
dde8c26feb
@ -33,7 +33,6 @@ export const ChunkMethodItem = memo(function ChunkMethodItem() {
|
|||||||
const { t } = useTranslate('knowledgeConfiguration');
|
const { t } = useTranslate('knowledgeConfiguration');
|
||||||
const form = Form.useFormInstance();
|
const form = Form.useFormInstance();
|
||||||
const handleChunkMethodSelectChange = useHandleChunkMethodSelectChange(form);
|
const handleChunkMethodSelectChange = useHandleChunkMethodSelectChange(form);
|
||||||
const disabled = useHasParsedDocument();
|
|
||||||
const parserList = useSelectChunkMethodList();
|
const parserList = useSelectChunkMethodList();
|
||||||
|
|
||||||
return (
|
return (
|
||||||
@ -45,7 +44,6 @@ export const ChunkMethodItem = memo(function ChunkMethodItem() {
|
|||||||
>
|
>
|
||||||
<Select
|
<Select
|
||||||
placeholder={t('chunkMethodPlaceholder')}
|
placeholder={t('chunkMethodPlaceholder')}
|
||||||
disabled={disabled}
|
|
||||||
onChange={handleChunkMethodSelectChange}
|
onChange={handleChunkMethodSelectChange}
|
||||||
options={parserList}
|
options={parserList}
|
||||||
></Select>
|
></Select>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user