mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-21 05:16:54 +08:00
### What problem does this PR solve? Fix: Fixed the issue of retrieval operator text overlapping #3221 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
22 lines
545 B
TypeScript
22 lines
545 B
TypeScript
import { FormLayout } from '@/constants/form';
|
|
import { useTranslate } from '@/hooks/common-hooks';
|
|
import { SliderInputFormField } from './slider-input-form-field';
|
|
|
|
export function PageRankFormField() {
|
|
const { t } = useTranslate('knowledgeConfiguration');
|
|
|
|
return (
|
|
<SliderInputFormField
|
|
name={'pagerank'}
|
|
label={t('pageRank')}
|
|
tooltip={t('pageRankTip')}
|
|
defaultValue={0}
|
|
max={100}
|
|
min={0}
|
|
layout={FormLayout.Horizontal}
|
|
></SliderInputFormField>
|
|
);
|
|
}
|
|
|
|
export default PageRankFormField;
|