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) => {
|
onFieldChange('*', (fieldPath: any) => {
|
||||||
if (linkageFields.includes(fieldPath.props.name) && field.value) {
|
if (linkageFields.includes(fieldPath.props.name) && field.value) {
|
||||||
props.onChange(null);
|
props.onChange(field.initialValue);
|
||||||
setInnerValue(null);
|
setInnerValue(field.initialValue);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user