fix: association select should not clearing after config data scope (#2984)
This commit is contained in:
parent
2747e7640f
commit
ee3d5af04d
@ -70,8 +70,8 @@ const InternalAssociationSelect = observer((props: AssociationSelectProps) => {
|
||||
//支持深层次子表单
|
||||
onFieldChange('*', (fieldPath: any) => {
|
||||
if (linkageFields.includes(fieldPath.props.name) && field.value) {
|
||||
props.onChange(null);
|
||||
setInnerValue(null);
|
||||
props.onChange(field.initialValue);
|
||||
setInnerValue(field.initialValue);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user