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