update 更新设备模块

This commit is contained in:
lb
2022-08-08 14:05:39 +08:00
parent f415f30f9e
commit 1e118a6d5d
7 changed files with 132 additions and 110 deletions

View File

@@ -43,7 +43,7 @@ export default {
let btns = []
for (const optionStr of this.injectData.head?.options) {
// btns.push(h('el-button', { props: { type: this.btnTypes[optionStr] } }, optionStr))
btns.push(h('el-button', { props: { type: 'text' }, style: { color: this.colors[optionStr] || '#0b58ff' } }, this.text[optionStr]))
btns.push(h('el-button', { props: { type: 'text' }, style: { color: this.colors[optionStr] || '#409EFF' } }, this.text[optionStr]))
}
return h('span', null, btns)
}