tag add prop: name

when use v-for to render Tag, you can use ‘name’ prop to close tag
This commit is contained in:
梁灏 2017-03-21 15:41:22 +08:00
parent 19d4135239
commit ec4117cb43
3 changed files with 16 additions and 49 deletions

View file

@ -58,7 +58,7 @@
if (this.padding !== defaultPadding) {
return {
padding: `${this.padding}px`
}
};
} else {
return '';
}