From e19e78cb26bf578f2b8221cd3f7bdd4171fe33c3 Mon Sep 17 00:00:00 2001 From: 2betop <2betop.cn@gmail.com> Date: Tue, 31 Dec 2019 15:04:51 +0800 Subject: [PATCH] =?UTF-8?q?addHook=20=E5=81=9A=E4=B8=AA=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderers/Form/Combo.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderers/Form/Combo.tsx b/src/renderers/Form/Combo.tsx index 00aee090..6e47b875 100644 --- a/src/renderers/Form/Combo.tsx +++ b/src/renderers/Form/Combo.tsx @@ -152,7 +152,7 @@ export default class ComboControl extends React.Component { }); formItem && formItem.setSubStore(store); - this.toDispose.push(addHook(this.flush, 'flush')); + addHook && this.toDispose.push(addHook(this.flush, 'flush')); } componentWillReceiveProps(nextProps: ComboProps) {