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
+3 -3
View File
@@ -5,7 +5,7 @@ const [createComponent, bem] = createNamespace('swipe-item');
export default createComponent({
data() {
return {
offset: 0
offset: 0,
};
},
@@ -23,7 +23,7 @@ export default createComponent({
const style = {
width: computedWidth + 'px',
height: vertical ? computedHeight + 'px' : '100%',
transform: `translate${vertical ? 'Y' : 'X'}(${this.offset}px)`
transform: `translate${vertical ? 'Y' : 'X'}(${this.offset}px)`,
};
return (
@@ -31,5 +31,5 @@ export default createComponent({
{this.slots()}
</div>
);
}
},
});