Skip to content

Commit

Permalink
fix(header): 🐛 修复月单位下表头显示问题
Browse files Browse the repository at this point in the history
fix #57, fix #61
  • Loading branch information
xpyjs committed Aug 17, 2023
1 parent 15caf61 commit cdaa7ca
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/container/GanttHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@
<col
:width="`${getGanttUnitColumnWidth(
c.date.date,
i === 0 ? 'after' : undefined
i === 0
? 'after'
: ganttHeader.unit === 'month' && i === dateList[1].length - 1
? 'before'
: undefined
)}px`"
/>
</template>
Expand Down

0 comments on commit cdaa7ca

Please sign in to comment.