combo bug fix (#3658)

Co-authored-by: xiaolong <xiaolong@xiaolongdeMacBook-Pro.local>
This commit is contained in:
biley 2022-03-04 11:15:33 +08:00 committed by GitHub
parent 2d02b9ccea
commit bce3e00435
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -642,7 +642,7 @@ export default class ComboControl extends React.Component<ComboProps> {
if (
syncDefaultValue === false ||
this.subFormDefaultValues.length !== this.subForms.length
this.subFormDefaultValues.length !== this.subForms.filter(item => item !== undefined).length
) {
return;
}