From e76d86bcddfbc1536a8de42a90312e14b0f67d42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E6=99=93=E9=9D=99?= <17600756968@163.com> Date: Mon, 20 Jul 2020 16:45:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/apolloTable/editFormV3/index.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/apolloTable/editFormV3/index.tsx b/components/apolloTable/editFormV3/index.tsx index cb12101..b276b6b 100644 --- a/components/apolloTable/editFormV3/index.tsx +++ b/components/apolloTable/editFormV3/index.tsx @@ -126,7 +126,9 @@ class FormWrap extends Component { if (_.isEqual(temp, newVal)) { return; } - onBlurFn(changedValue) + if (typeof onBlurFn === 'function') { + onBlurFn(changedValue) + } } return ( -- 2.21.0