2
0
mirror of https://github.com/tenrok/vue-ganttastic.git synced 2026-06-19 23:10:33 +03:00

fix: one day dismissed on month_days mode

This commit is contained in:
yicone
2021-02-02 18:53:55 +08:00
parent ac56ec12d7
commit 34e9e12293
+1 -1
View File
@@ -107,7 +107,7 @@ export default {
: start.daysInMonth() - start.date() + 1
let widthPercentage = (dayCountOfMonth / this.childPointCount) * 100
let endDay =
start.month() === end.month() ? end.date() : end.daysInMonth()
start.month() === end.month() ? end.date() : start.daysInMonth()
this.axisPoints.push(
this.getAxisMonthObject(start, widthPercentage, endDay)
)