refactor: ele 优化列表操作按钮大小

This commit is contained in:
puhui999
2025-05-13 10:08:12 +08:00
parent 96f5108ded
commit e298c5bf67

View File

@@ -138,7 +138,6 @@ setupVbenVxeTable({
vxeUI.renderer.add('CellOperation', {
renderTableDefault({ attrs, options, props }, { column, row }) {
const defaultProps = {
size: 'small',
type: 'primary',
class: '!p-0',
...props,
@@ -167,8 +166,6 @@ setupVbenVxeTable({
text: $t('common.edit'),
},
};
// TODO @puhui999貌似按钮相比 antd 版本,小一点?
// TODO @puhui999貌似按钮之间的间距大了一点
const operations: Array<Recordable<any>> = (
options || ['edit', 'delete']
)