From 603be2449cc9dc5c5db9a58272b6c018a74364be Mon Sep 17 00:00:00 2001 From: 2betop <2betop.cn@gmail.com> Date: Tue, 25 Feb 2020 16:07:02 +0800 Subject: [PATCH] =?UTF-8?q?=E9=81=BF=E5=85=8D=E8=AE=BE=E7=BD=AE=20undefine?= =?UTF-8?q?d=20=E5=90=8E=E6=8A=8A=E5=8F=98=E9=87=8F=E5=88=A0=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderers/Form/Image.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderers/Form/Image.tsx b/src/renderers/Form/Image.tsx index 41a79a9b4..8a49344a5 100644 --- a/src/renderers/Form/Image.tsx +++ b/src/renderers/Form/Image.tsx @@ -533,7 +533,7 @@ export default class ImageControl extends React.Component< : newValue; } - onChange((this.emitValue = newValue), undefined, changeImmediately); + onChange((this.emitValue = newValue || ''), undefined, changeImmediately); } handleSelect() {