修正代码

This commit is contained in:
catchonme 2019-05-14 12:08:20 +08:00
parent b692c67f24
commit c053ee9d1f
1 changed files with 1 additions and 1 deletions

View File

@ -306,7 +306,7 @@ export default class FormControl extends React.Component<FormControlProps, any>
if (this.model.unique && form.parentStore && form.parentStore.storeType === ComboStore.name) {
const combo = form.parentStore as IComboStore;
const group = combo.uniques.get(this.model.name) as IUniqueGroup;
group && group.items.forEach(item => item.validate());
group.items.forEach(item => item.validate());
} else {
this.model.validate(this.hook);
form.getItemsByName(this.model.name)