fix: linkage rule title editing issue (#5644)

This commit is contained in:
Katherine 2024-11-14 10:20:52 +08:00 committed by GitHub
parent 3435aa588e
commit c6eb117899
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -27,7 +27,7 @@ const LinkageRulesTitle = (props) => {
const value = array?.field?.value[index]; const value = array?.field?.value[index];
return ( return (
<Input.TextArea <Input.TextArea
value={value.title || t('Linkage rule')} value={value.title}
defaultValue={t('Linkage rule')} defaultValue={t('Linkage rule')}
onChange={(ev) => { onChange={(ev) => {
ev.stopPropagation(); ev.stopPropagation();