Fix: typo process_duration (#8696)

### What problem does this PR solve?

Fix typo process_duration.

### Type of change

- [x] Documentation Update
- [x] Refactoring
This commit is contained in:
Yongteng Lei
2025-07-07 14:11:47 +08:00
committed by GitHub
parent 789ae87727
commit 4d7bfd2ba3
21 changed files with 42 additions and 34 deletions

View File

@ -12,7 +12,7 @@ export interface IDocumentInfo {
parser_config: IParserConfig;
parser_id: string;
process_begin_at?: string;
process_duation: number;
process_duration: number;
progress: number;
progress_msg: string;
run: RunningStatus;

View File

@ -69,7 +69,7 @@ export interface IKnowledgeFile {
name: string;
parser_id: string;
process_begin_at?: any;
process_duation: number;
process_duration: number;
progress: number; // parsing process
progress_msg: string; // parsing log
run: RunningStatus; // parsing status

View File

@ -61,9 +61,9 @@ const PopoverContent = ({ record }: IProps) => {
children: record.process_begin_at,
},
{
key: 'process_duation',
key: 'process_duration',
label: t('processDuration'),
children: `${record.process_duation.toFixed(2)} s`,
children: `${record.process_duration.toFixed(2)} s`,
},
{
key: 'progress_msg',

View File

@ -53,9 +53,9 @@ export const PopoverContent = ({ record }: IProps) => {
children: record.process_begin_at,
},
{
key: 'knowledgeDetails.process_duation',
key: 'knowledgeDetails.process_duration',
label: t('processDuration'),
children: `${record.process_duation.toFixed(2)} s`,
children: `${record.process_duration.toFixed(2)} s`,
},
{
key: 'progress_msg',