update 更新除涉及dialog之外的所有操作

This commit is contained in:
lb
2023-03-09 15:07:55 +08:00
parent faa1daa343
commit 79ed2d4f6a
6 changed files with 160 additions and 39 deletions

View File

@@ -81,7 +81,7 @@ export default {
style: { color: this.colors[opt.name] || '#0b58ff' },
on: { click: this.emit.bind(null, opt) }
},
opt.icon ? opt.showText ? this.text[opt.name] ?? opt.label : '' : ''
opt.icon ? opt.showText ? this.text[opt.name] ?? opt.label : '' : opt.label ?? this.text[opt.name]
)
)
}