mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-11-14 17:13:20 +00:00
### What problem does this PR solve? Feat: Store the pagerank field at the outermost #3794 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
parent
7b6a5ffaff
commit
e66addc82d
@ -9,7 +9,7 @@ const PageRank = () => {
|
|||||||
<Flex gap={20} align="center">
|
<Flex gap={20} align="center">
|
||||||
<Flex flex={1}>
|
<Flex flex={1}>
|
||||||
<Form.Item
|
<Form.Item
|
||||||
name={['parser_config', 'pagerank']}
|
name={['pagerank']}
|
||||||
noStyle
|
noStyle
|
||||||
initialValue={0}
|
initialValue={0}
|
||||||
rules={[{ required: true }]}
|
rules={[{ required: true }]}
|
||||||
@ -18,7 +18,7 @@ const PageRank = () => {
|
|||||||
</Form.Item>
|
</Form.Item>
|
||||||
</Flex>
|
</Flex>
|
||||||
<Form.Item
|
<Form.Item
|
||||||
name={['parser_config', 'pagerank']}
|
name={['pagerank']}
|
||||||
noStyle
|
noStyle
|
||||||
initialValue={0}
|
initialValue={0}
|
||||||
rules={[{ required: true }]}
|
rules={[{ required: true }]}
|
||||||
|
|||||||
@ -59,6 +59,7 @@ export const useFetchKnowledgeConfigurationOnMount = (form: FormInstance) => {
|
|||||||
'parser_id',
|
'parser_id',
|
||||||
'language',
|
'language',
|
||||||
'parser_config',
|
'parser_config',
|
||||||
|
'pagerank',
|
||||||
]),
|
]),
|
||||||
avatar: fileList,
|
avatar: fileList,
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user