update table

This commit is contained in:
lb
2023-03-17 11:32:29 +08:00
parent f25d7f306a
commit d412057a38
37 changed files with 109 additions and 105 deletions

View File

@@ -26,6 +26,6 @@ export default {
},
render: function (h) {
// console.log('button content:', this.injectData)
return h('span', null, [h('el-button', { props: { type: 'text' }, style: { paddingLeft: 0 }, on: { click: this.emitClick } }, this.injectData.head?.buttonContent || this.defaultText)])
return h('span', null, [h('el-button', { props: { type: 'text' }, style: { padding: 0, margin: '5px 0' }, on: { click: this.emitClick } }, this.injectData.head?.buttonContent || this.defaultText)])
}
}

View File

@@ -10,7 +10,7 @@
content: "";
width: 1px;
background: #ccc;
right: -6px;
top: 15%;
height: 70%;
right: -4px;
top: 10%;
height: 80%;
}

View File

@@ -107,7 +107,7 @@ export default {
domProps: {
title: opt.label ?? opt.name,
},
style: { color: !shouldDisabled && (opt.color || this.colors[opt.name] || "#0b58ff"), padding: '5px 0' },
style: { color: !shouldDisabled && (opt.color || this.colors[opt.name] || "#0b58ff"), padding: 0, margin: '5px 9px 5px 0' },
class: ['operate--btn'],
on: { click: this.emit.bind(null, opt) },
},
@@ -126,7 +126,7 @@ export default {
domProps: {
title: opt.label ?? opt.name,
},
style: { color: this.colors[opt] || "#0b58ff", padding: 0 },
style: { color: this.colors[opt] || "#0b58ff", padding: 0, margin: '5px 9px 5px 0' },
class: ['operate--btn'],
on: { click: this.emit.bind(null, opt) },
},