update table
This commit is contained in:
@@ -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)])
|
||||
}
|
||||
}
|
||||
@@ -10,7 +10,7 @@
|
||||
content: "";
|
||||
width: 1px;
|
||||
background: #ccc;
|
||||
right: -6px;
|
||||
top: 15%;
|
||||
height: 70%;
|
||||
right: -4px;
|
||||
top: 10%;
|
||||
height: 80%;
|
||||
}
|
||||
@@ -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) },
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user