renerLabel 处理逻辑错误

This commit is contained in:
liaoxuezhi 2019-11-13 09:46:47 +08:00
parent a4b9e3e9db
commit bce23aa910

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;