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
@@ -15,12 +15,12 @@ export default createComponent({
showTitle: Boolean,
rowHeight: Number,
formatter: Function,
currentDate: [Date, Array]
currentDate: [Date, Array],
},
data() {
return {
visible: false
visible: false,
};
},
@@ -43,7 +43,7 @@ export default createComponent({
Math.ceil((this.totalDay + this.offset) / 7) * this.rowHeight;
return {
paddingBottom: `${padding}px`
paddingBottom: `${padding}px`,
};
}
},
@@ -61,7 +61,7 @@ export default createComponent({
date,
type,
text: day,
bottomInfo: this.getBottomInfo(type)
bottomInfo: this.getBottomInfo(type),
};
if (this.formatter) {
@@ -72,7 +72,7 @@ export default createComponent({
}
return days;
}
},
},
mounted() {
@@ -219,7 +219,7 @@ export default createComponent({
{BottomInfo}
</div>
);
}
},
},
render() {
@@ -229,5 +229,5 @@ export default createComponent({
{this.genDays()}
</div>
);
}
},
});