Merge pull request #463 from SuanmoSuanyangTechnology/feature/workflow_import_zy

feat(web): chat variable support paragraph
This commit is contained in:
yingzhao
2026-03-05 11:07:29 +08:00
committed by GitHub

View File

@@ -80,6 +80,7 @@ const VariableConfigModal = forwardRef<VariableConfigModalRef, VariableEditModal
{
(field.type === 'string' || field.type === 'text') && <Input placeholder={t('common.pleaseEnter')} />
}
{ field.type === 'paragraph' && <Input.TextArea placeholder={t('common.pleaseEnter')} /> }
{
field.type === 'number' && <InputNumber placeholder={t('common.pleaseEnter')} style={{ width: '100%' }} onChange={(value) => form.setFieldValue(['variables', name, 'value'], value)} />
}