From 8416fd59098e8a6b754072363594200f1de57b02 Mon Sep 17 00:00:00 2001 From: zhangwenshuai Date: Tue, 21 Jul 2020 17:21:08 +0800 Subject: [PATCH] =?UTF-8?q?revise=20=E8=A1=A8=E5=8D=95=E5=8D=B3=E6=97=B6?= =?UTF-8?q?=E7=BC=96=E8=BE=91=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/apolloTable/editFormV3/index.tsx | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/components/apolloTable/editFormV3/index.tsx b/components/apolloTable/editFormV3/index.tsx index c8bf830..065441b 100644 --- a/components/apolloTable/editFormV3/index.tsx +++ b/components/apolloTable/editFormV3/index.tsx @@ -92,7 +92,7 @@ class FormWrap extends Component { }; renderEditForm = (item) => { - const { getFieldDecorator, validateFieldsAndScroll } = this.props.form; + const { getFieldDecorator } = this.props.form; const { rowData, rowId, getInstanceDetail, onBlurFn } = this.props; const { columnType, @@ -135,12 +135,7 @@ class FormWrap extends Component { if (_.isEqual(temp, newVal)) { return; } - validateFieldsAndScroll((err:any) => { - // 即时编辑时需要对表单必填等规则校验 - if (!err) { - onBlurFn(changedValue); - } - }); + onBlurFn(changedValue); } }; return ( -- 2.21.0