From 53d2de7a1e17ed7231cdc9af69fdf5d0f66ffe54 Mon Sep 17 00:00:00 2001 From: clannadxr Date: Thu, 25 Jan 2018 17:30:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DTableForm=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E9=AA=8C=E8=AF=81=E4=B8=8D=E8=BF=87=E6=97=B6loading=E4=B8=8D?= =?UTF-8?q?=E6=81=A2=E5=A4=8D=E9=97=AE=E9=A2=98=20(#812)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/routes/Forms/TableForm.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/routes/Forms/TableForm.js b/src/routes/Forms/TableForm.js index c894517c..7eb0665f 100644 --- a/src/routes/Forms/TableForm.js +++ b/src/routes/Forms/TableForm.js @@ -97,6 +97,9 @@ export default class TableForm extends PureComponent { if (!target.workId || !target.name || !target.department) { message.error('请填写完整成员信息。'); e.target.focus(); + this.setState({ + loading: false, + }); return; } delete target.isNew; -- GitLab