renerLabel 处理逻辑错误

This commit is contained in:
liaoxuezhi 2019-11-13 09:46:47 +08:00
parent 40635c87ab
commit 35c46341e7

View File

@ -244,7 +244,7 @@ export class FormItemWrap extends React.Component<FormItemProps> {
// 强制不渲染 label 的话
if (renderLabel === false) {
label = label === false ? false : '';
label = false;
}
description = description || desc;