add 混料订单

This commit is contained in:
lb
2023-03-14 09:40:05 +08:00
parent 0c71333957
commit 2dae6153fd
4 changed files with 310 additions and 19 deletions

View File

@@ -78,7 +78,7 @@ export default {
h('el-button',
{
props: { type: opt.type ?? 'text', icon: opt.icon ? `el-icon-${opt.icon}` : '', title: opt.label ?? opt.name },
style: { color: this.colors[opt.name] || '#0b58ff' },
style: { color: opt.color || this.colors[opt.name] || '#0b58ff' },
on: { click: this.emit.bind(null, opt) }
},
opt.icon ? opt.showText ? this.text[opt.name] ?? opt.label : '' : opt.label ?? this.text[opt.name]