From 24f3b8dfef2818a283598e14dcf9e32c56a9e888 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 17:51:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A4=E7=A9=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/apolloTable/editFormV3/index.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/apolloTable/editFormV3/index.tsx b/components/apolloTable/editFormV3/index.tsx index b276b6b..44a74ac 100644 --- a/components/apolloTable/editFormV3/index.tsx +++ b/components/apolloTable/editFormV3/index.tsx @@ -126,6 +126,9 @@ class FormWrap extends Component { if (_.isEqual(temp, newVal)) { return; } + if (!!item.requiredFlag && !newVal[0].value) { + return + } if (typeof onBlurFn === 'function') { onBlurFn(changedValue) } -- 2.21.0