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
+5 -5
View File
@@ -8,8 +8,8 @@ export default createComponent({
offset: [Number, String],
tag: {
type: String,
default: 'div'
}
default: 'div',
},
},
computed: {
@@ -20,13 +20,13 @@ export default createComponent({
style() {
const padding = `${this.gutter / 2}px`;
return this.gutter ? { paddingLeft: padding, paddingRight: padding } : {};
}
},
},
methods: {
onClick(event) {
this.$emit('click', event);
}
},
},
render() {
@@ -40,5 +40,5 @@ export default createComponent({
{this.slots()}
</this.tag>
);
}
},
});