chore: add trailingComma

This commit is contained in:
陈嘉涵
2020-01-19 11:57:09 +08:00
parent e841175fe8
commit 389d68884d
269 changed files with 2706 additions and 2702 deletions
+6 -6
View File
@@ -9,18 +9,18 @@ export default createComponent({
justify: String,
tag: {
type: String,
default: 'div'
default: 'div',
},
gutter: {
type: [Number, String],
default: 0
}
default: 0,
},
},
methods: {
onClick(event) {
this.$emit('click', event);
}
},
},
render() {
@@ -35,12 +35,12 @@ export default createComponent({
class={bem({
flex,
[`align-${align}`]: flex && align,
[`justify-${justify}`]: flex && justify
[`justify-${justify}`]: flex && justify,
})}
onClick={this.onClick}
>
{this.slots()}
</this.tag>
);
}
},
});