chore: add trailingComma
This commit is contained in:
@@ -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>
|
||||
);
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
@@ -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>
|
||||
);
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user