mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 02:58:05 +08:00
Group 配置 label 了就用 formItem 格式输出,水平模式会有个默认的 gap
This commit is contained in:
parent
b7036a2930
commit
ad20763066
@ -216,7 +216,7 @@ export class ControlGroupRenderer extends React.Component<InputGroupProps> {
|
||||
render() {
|
||||
const {label, ...rest} = this.props;
|
||||
|
||||
if (label) {
|
||||
if (typeof label !== 'undefined') {
|
||||
return (
|
||||
<FormItemWrap
|
||||
{...(rest as any)}
|
||||
|
Loading…
Reference in New Issue
Block a user