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
+7 -7
View File
@@ -16,7 +16,7 @@ export default createComponent({
scrollable: Boolean,
activeColor: String,
inactiveColor: String,
swipeThreshold: Number
swipeThreshold: Number,
},
computed: {
@@ -48,13 +48,13 @@ export default createComponent({
}
return style;
}
},
},
methods: {
onClick() {
this.$emit('click');
}
},
},
render() {
@@ -66,11 +66,11 @@ export default createComponent({
bem({
active: this.isActive,
disabled: this.disabled,
complete: !this.ellipsis
complete: !this.ellipsis,
}),
{
'van-ellipsis': this.ellipsis
}
'van-ellipsis': this.ellipsis,
},
]}
style={this.style}
onClick={this.onClick}
@@ -81,5 +81,5 @@ export default createComponent({
</span>
</div>
);
}
},
});