diff --git a/components/apolloTable/editFormV3/index.tsx b/components/apolloTable/editFormV3/index.tsx index c8bf83027968a1f29e6632bab18ab243dd868bef..065441b8c555093f9aec2ca57de7263e1da2bc3f 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 (