displayType 不是 column 的情况下出现 hideLabel 字符串
ylfeng250 opened this issue · 1 comments
ylfeng250 commented
1.依赖仓库的版本(Dependencies versions):
- react:18
- form-render:2.4.2
- table-render:
- antd:5
这个位置 判断不是 column ,就设置label的操作我没有看懂,导致生产环境下这个 表单的 action 区域出现一个 hideLabel
<Form.Item
label={ displayType !== 'column' ? 'hideLabel' : null}
labelCol={operlabelCol}
className='fr-hide-label'
>
{isFunction(footer) ? (
<Space>{footer(actionBtns)}</Space>
) : (
<Space>{actionBtns}</Space>
)}
</Form.Item>
能不能优化一下
lhbxs commented
你是不是配置了 prefixCls,导致隐藏的 css 不生效了,你可以找到那块的 css 然后复写下样式。