Feat: Add a language switch drop-down box to the top navigation bar #3221 (#7416)

### What problem does this PR solve?

Feat: Add a language switch drop-down box to the top navigation bar
#3221
### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2025-04-29 18:20:46 +08:00
committed by GitHub
parent 942b94fc3c
commit de166d0ff2
2 changed files with 87 additions and 33 deletions

View File

@ -164,8 +164,7 @@ const KnowledgeFile = () => {
text: t(`runningStatus${value}`),
value: value,
})),
onFilter: (value: string | number | boolean, record: IDocumentInfo) =>
record.run === value,
onFilter: (value, record: IDocumentInfo) => record.run === value,
render: (text, record) => {
return <ParsingStatusCell record={record}></ParsingStatusCell>;
},