### 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
2 changed files with 3 additions and 2 deletions
|
|
@ -9,7 +9,7 @@ const PageRank = () => {
|
|||
<Flex gap={20} align="center">
|
||||
<Flex flex={1}>
|
||||
<Form.Item
|
||||
name={['parser_config', 'pagerank']}
|
||||
name={['pagerank']}
|
||||
noStyle
|
||||
initialValue={0}
|
||||
rules={[{ required: true }]}
|
||||
|
|
@ -18,7 +18,7 @@ const PageRank = () => {
|
|||
</Form.Item>
|
||||
</Flex>
|
||||
<Form.Item
|
||||
name={['parser_config', 'pagerank']}
|
||||
name={['pagerank']}
|
||||
noStyle
|
||||
initialValue={0}
|
||||
rules={[{ required: true }]}
|
||||
|
|
|
|||
|
|
@ -59,6 +59,7 @@ export const useFetchKnowledgeConfigurationOnMount = (form: FormInstance) => {
|
|||
'parser_id',
|
||||
'language',
|
||||
'parser_config',
|
||||
'pagerank',
|
||||
]),
|
||||
avatar: fileList,
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue