columns 属性
属性 | 说明 | 类型 | 示例 | Default | 备注 |
---|---|---|---|---|---|
prop | 选中项绑定值 | string | prop: "state" | ||
label | 选中项 label | string / number / boolean | label: "状态", | ||
tableType | 组件类型 | string | tableType: "btn", | 当前组件有input switch img btn | |
width | 宽度 | string | width: "140" | ||
height | 高度 | string | height: "140" | ||
btnArr | 按钮组 | array | btnArr: [{ btnId: 0, label: "查询", color: "primary" }], | ||
sortable | 表头排序 | boolean | sortable: true | ||
color | 字体颜色 | string | color: "blue" | ||
dict | 字典转义 | object | dict: {tag: true,dictMap: [{ label: "全部", value: 0, color: "primary", size: "large" }],} | ||
imgWidth | 图片宽度 | string | imgWidth: "80", |