Skip to content

Group

Group 常用与列表的筛选布局和表单的布局,可以根据屏幕大小自动计算每列放 item 的数量,注:Group 必选搭配 GroupItem 使用

示例

grouplabelWidth可以统一修改group-item的 label 宽度,若group不传grid就是自动计算每列的 item 数量

Group props

参数说明类型可选值默认值
grid每列存放 Item 的个数,不传就是根据块的宽度自动计算sting / number
labelWidthgourp-item的 label 宽度sting90px

Group Item props

参数说明类型可选值默认值
span列的宽度sting / number1
widthlabel 的宽度sting90px
align内容的对齐方式stingleft、right、centerleft

Group Item slot

name说明
label自定义 label