From 35c46341e7c84a13d6a9e16efb4e1923ea397ff9 Mon Sep 17 00:00:00 2001 From: liaoxuezhi Date: Wed, 13 Nov 2019 09:46:47 +0800 Subject: [PATCH] =?UTF-8?q?renerLabel=20=E5=A4=84=E7=90=86=E9=80=BB?= =?UTF-8?q?=E8=BE=91=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderers/Form/Item.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderers/Form/Item.tsx b/src/renderers/Form/Item.tsx index 2939b6018..4f9563944 100644 --- a/src/renderers/Form/Item.tsx +++ b/src/renderers/Form/Item.tsx @@ -244,7 +244,7 @@ export class FormItemWrap extends React.Component { // 强制不渲染 label 的话 if (renderLabel === false) { - label = label === false ? false : ''; + label = false; } description = description || desc;