mirror of
https://github.com/tenrok/vue-ganttastic.git
synced 2026-06-25 03:20:32 +03:00
fix: one day dismissed on month_days mode
This commit is contained in:
@@ -107,7 +107,7 @@ export default {
|
|||||||
: start.daysInMonth() - start.date() + 1
|
: start.daysInMonth() - start.date() + 1
|
||||||
let widthPercentage = (dayCountOfMonth / this.childPointCount) * 100
|
let widthPercentage = (dayCountOfMonth / this.childPointCount) * 100
|
||||||
let endDay =
|
let endDay =
|
||||||
start.month() === end.month() ? end.date() : end.daysInMonth()
|
start.month() === end.month() ? end.date() : start.daysInMonth()
|
||||||
this.axisPoints.push(
|
this.axisPoints.push(
|
||||||
this.getAxisMonthObject(start, widthPercentage, endDay)
|
this.getAxisMonthObject(start, widthPercentage, endDay)
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user