From c76c3fe703bc61373b34770d01164229fbf62916 Mon Sep 17 00:00:00 2001 From: 2betop <2betop.cn@gmail.com> Date: Thu, 23 Jul 2020 13:38:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20form=20=E5=BA=95=E4=B8=8B?= =?UTF-8?q?=E7=9A=84=20service=20=E9=87=8D=E6=96=B0=E6=8B=89=E5=8F=96?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E4=B8=8D=E5=90=8C=E6=AD=A5=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E4=BD=A0=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderers/Form/Control.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/renderers/Form/Control.tsx b/src/renderers/Form/Control.tsx index b0f8cba7..89e4788f 100644 --- a/src/renderers/Form/Control.tsx +++ b/src/renderers/Form/Control.tsx @@ -269,8 +269,7 @@ export default class FormControl extends React.PureComponent< if ( form !== store && data !== prevProps.data && - (value = getVariable(data as any, name)) !== - getVariable(prevProps.data, name) + (value = getVariable(data as any, name)) !== this.getValue() ) { this.handleChange(value, false, true); }