Skip to content

Commit

Permalink
Feat: Store the pagerank field at the outermost infiniflow#3794 (infi…
Browse files Browse the repository at this point in the history
…niflow#3822)

### What problem does this PR solve?

Feat: Store the pagerank field at the outermost infiniflow#3794

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
  • Loading branch information
cike8899 authored Dec 3, 2024
1 parent 7b6a5ff commit e66addc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/src/components/page-rank.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 }]}
Expand All @@ -18,7 +18,7 @@ const PageRank = () => {
</Form.Item>
</Flex>
<Form.Item
name={['parser_config', 'pagerank']}
name={['pagerank']}
noStyle
initialValue={0}
rules={[{ required: true }]}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ export const useFetchKnowledgeConfigurationOnMount = (form: FormInstance) => {
'parser_id',
'language',
'parser_config',
'pagerank',
]),
avatar: fileList,
});
Expand Down

0 comments on commit e66addc

Please sign in to comment.