fix: sub-form(popover)in sub-table value mutual influence (#3164)
This commit is contained in:
parent
7bb50fea34
commit
a7176770fb
@ -64,7 +64,7 @@ export const AssociationFieldProvider = observer(
|
||||
setLoading(false);
|
||||
return;
|
||||
}
|
||||
if (['Nester', 'PopoverNester'].includes(currentMode)) {
|
||||
if (['Nester'].includes(currentMode)) {
|
||||
if (['belongsTo', 'hasOne'].includes(collectionField.type)) {
|
||||
field.value = {};
|
||||
} else if (['belongsToMany', 'hasMany'].includes(collectionField.type)) {
|
||||
|
@ -71,7 +71,7 @@ export const InternaPopoverNester = observer(
|
||||
>
|
||||
<ReadPrettyInternalViewer {...titleProps} />
|
||||
</div>
|
||||
<EditOutlined style={{ display: 'inline-flex', marginLeft: '5px' }} />
|
||||
<EditOutlined style={{ display: 'inline-flex', margin: '5px' }} />
|
||||
</span>
|
||||
</PopoverWithStopPropagation>
|
||||
{visible && (
|
||||
|
Loading…
Reference in New Issue
Block a user