https://www.yuque.com/chaojie-vjiel/vbwzgu
- el-col 修改 v-bind 属性,支持传入 colAttrs 设置 el-col 属性
formSections = [
{
// 分区标题
title: '基本信息',
colAttrs: {md: 8,xs: 24},//设置el-col属性
formDesc: {
name: {
type: 'input',label: '姓名',
colAttrs:{md: 8,xs: 24},
},
age: {label: '年龄',type: 'number'},
}
},
]