addHook 做个判断
This commit is contained in:
parent
7e12c10494
commit
e19e78cb26
|
@ -152,7 +152,7 @@ export default class ComboControl extends React.Component<ComboProps> {
|
|||
});
|
||||
|
||||
formItem && formItem.setSubStore(store);
|
||||
this.toDispose.push(addHook(this.flush, 'flush'));
|
||||
addHook && this.toDispose.push(addHook(this.flush, 'flush'));
|
||||
}
|
||||
|
||||
componentWillReceiveProps(nextProps: ComboProps) {
|
||||
|
|
Loading…
Reference in New Issue