fix: Uses label component for add label button (#2337)
* fix: Uses label component for add label button * Use button instead of span
This commit is contained in:
parent
9ffdb0ec70
commit
9c555e70c9
2 changed files with 21 additions and 17 deletions
|
@ -52,7 +52,11 @@ export default {
|
|||
},
|
||||
labelStyle() {
|
||||
if (this.bgColor) {
|
||||
return { background: this.bgColor, color: this.textColor };
|
||||
return {
|
||||
background: this.bgColor,
|
||||
color: this.textColor,
|
||||
border: `1px solid ${this.bgColor}`,
|
||||
};
|
||||
}
|
||||
return {};
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue