Skip to content

Commit

Permalink
fix: 修复节假日超出渲染
Browse files Browse the repository at this point in the history
fix #105
  • Loading branch information
xpyjs committed Jun 28, 2024
1 parent 192e734 commit 69c6229
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/container/GanttBody.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,11 @@
<!-- 节假日 -->
<template v-for="holidays in $styleBox.holidays">
<div
v-for="date in holidays.date"
v-for="date in holidays.date.filter(
d =>
d.compareTo(ganttHeader.start) === 'r' &&
d.compareTo(ganttHeader.end) === 'l'
)"
:key="date.toString()"
class="xg-gantt-body-date-line holiday"
:style="{
Expand Down

0 comments on commit 69c6229

Please sign in to comment.