fix: score_threshold_enabled variable (#1627)

This commit is contained in:
zxhlyh 2023-11-27 15:38:05 +08:00 • committed by GitHub
commit 80ddb00f10
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 6 deletions

View file

@ -114,12 +114,12 @@ const RetrievalParamConfig: FC<Props> = ({
score_threshold: v,
})
}}
enable={value.score_threshold_enable}
enable={value.score_threshold_enabled}
hasSwitch={true}
onSwitchChange={(_key, v) => {
onChange({
...value,
score_threshold_enable: v,
score_threshold_enabled: v,
})
}}
/>