Browse Source

fix(nc-gui): month week selector issue

pull/7611/head
DarkPhoenix2704 9 months ago
parent
commit
a7672fcc0c
  1. 2
      packages/nc-gui/components/nc/MonthYearSelector.vue

2
packages/nc-gui/components/nc/MonthYearSelector.vue

@ -37,7 +37,7 @@ const months = computed(() => {
const months: dayjs.Dayjs[] = [] const months: dayjs.Dayjs[] = []
for (let i = 0; i < 12; i++) { for (let i = 0; i < 12; i++) {
months.push(date.add(i, 'month')) months.push(date.set('month', i))
} }
return months return months
}) })

Loading…
Cancel
Save