tag add prop: name
when use v-for to render Tag, you can use ‘name’ prop to close tag
This commit is contained in:
parent
19d4135239
commit
ec4117cb43
3 changed files with 16 additions and 49 deletions
|
@ -58,7 +58,7 @@
|
|||
if (this.padding !== defaultPadding) {
|
||||
return {
|
||||
padding: `${this.padding}px`
|
||||
}
|
||||
};
|
||||
} else {
|
||||
return '';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue