fix(web): model config's slider add range desc
This commit is contained in:
@@ -1457,6 +1457,7 @@ export const en = {
|
|||||||
appCount: '{{count}} apps shared to this space',
|
appCount: '{{count}} apps shared to this space',
|
||||||
resetFeaturesTip: 'Please reconfigure the [Conversation Features - File Upload] settings',
|
resetFeaturesTip: 'Please reconfigure the [Conversation Features - File Upload] settings',
|
||||||
logTitle: 'Description',
|
logTitle: 'Description',
|
||||||
|
range: 'Range',
|
||||||
},
|
},
|
||||||
userMemory: {
|
userMemory: {
|
||||||
userMemory: 'User Memory',
|
userMemory: 'User Memory',
|
||||||
|
|||||||
@@ -829,6 +829,7 @@ export const zh = {
|
|||||||
appCount: '{{count}}个应用共享到此空间',
|
appCount: '{{count}}个应用共享到此空间',
|
||||||
resetFeaturesTip: '请重新配置【对话功能-文件上传】功能',
|
resetFeaturesTip: '请重新配置【对话功能-文件上传】功能',
|
||||||
logTitle: '描述',
|
logTitle: '描述',
|
||||||
|
range: '范围',
|
||||||
},
|
},
|
||||||
table: {
|
table: {
|
||||||
totalRecords: '共 {{total}} 条记录'
|
totalRecords: '共 {{total}} 条记录'
|
||||||
|
|||||||
@@ -171,12 +171,13 @@ const ModelConfigModal = forwardRef<ModelConfigModalRef, ModelConfigModalProps>(
|
|||||||
key={item.key}
|
key={item.key}
|
||||||
name={item.key}
|
name={item.key}
|
||||||
label={t(`application.${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
|
<RbSlider
|
||||||
max={item.max}
|
max={item.max}
|
||||||
step={item.step}
|
step={item.step}
|
||||||
min={item.min}
|
min={item.min}
|
||||||
|
isInput={true}
|
||||||
/>
|
/>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
))}
|
))}
|
||||||
|
|||||||
Reference in New Issue
Block a user