修正代码
This commit is contained in:
parent
b692c67f24
commit
c053ee9d1f
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue