diff --git a/src/components/common-table/common-table-column.vue b/src/components/common-table/common-table-column.vue index f9bffaf..ff60a6a 100644 --- a/src/components/common-table/common-table-column.vue +++ b/src/components/common-table/common-table-column.vue @@ -7,6 +7,9 @@ * @property {string} property 数据属性 * @property {string} width 宽度 * @property {boolean} isOperation 是否是操作列 + * @property {string} slot 自定义插槽 + * @property [ButtonProps] buttons 自定义按钮 + * @property {Object} attrs 其他属性 */ /** * 配置信息 @@ -18,16 +21,61 @@ const props = defineProps({ column: { type: Object, required: true + }, + buttonSize: { + type: String, + default: 'small' } }) +