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
@@ -6,7 +6,7 @@ const [createComponent] = createNamespace('calendar-header');
export default createComponent({
props: {
title: String,
monthTitle: String
monthTitle: String,
},
methods: {
@@ -29,7 +29,7 @@ export default createComponent({
))}
</div>
);
}
},
},
render() {
@@ -40,5 +40,5 @@ export default createComponent({
{this.genWeekDays()}
</div>
);
}
},
});
+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>
);
}
},
});