fix(web): model config's slider add range desc

This commit is contained in:
zhaoying
2026-04-01 17:52:07 +08:00
parent 378b110d91
commit 767f9ab17c
3 changed files with 4 additions and 1 deletions

View File

@@ -171,12 +171,13 @@ const ModelConfigModal = forwardRef<ModelConfigModalRef, ModelConfigModalProps>(
key={item.key}
name={item.key}
label={t(`application.${item.key}`)}
extra={t(`application.${item.key}_desc`)}
extra={<>{t(`application.${item.key}_desc`)} | {t('application.range')}: [{item.min}, {item.max}]</>}
>
<RbSlider
max={item.max}
step={item.step}
min={item.min}
isInput={true}
/>
</FormItem>
))}