|
|
|
@@ -20,7 +20,6 @@ const VALUE_LIMIT = { |
|
|
|
max: 1, |
|
|
|
} |
|
|
|
|
|
|
|
const key = 'score_threshold' |
|
|
|
const ScoreThresholdItem: FC<Props> = ({ |
|
|
|
className, |
|
|
|
value, |
|
|
|
@@ -39,9 +38,9 @@ const ScoreThresholdItem: FC<Props> = ({ |
|
|
|
return ( |
|
|
|
<ParamItem |
|
|
|
className={className} |
|
|
|
id={key} |
|
|
|
name={t(`appDebug.datasetConfig.${key}`)} |
|
|
|
tip={t(`appDebug.datasetConfig.${key}Tip`) as string} |
|
|
|
id='score_threshold' |
|
|
|
name={t('appDebug.datasetConfig.score_threshold')} |
|
|
|
tip={t('appDebug.datasetConfig.score_thresholdTip') as string} |
|
|
|
{...VALUE_LIMIT} |
|
|
|
value={value} |
|
|
|
enable={enable} |