From e590ce7aa3c5e845bae949be66319c2cf6b31b85 Mon Sep 17 00:00:00 2001 From: KumJungMin Date: Fri, 3 May 2024 22:26:25 +0900 Subject: [PATCH] fix: delete month parameter on onMonthSelect --- components/lib/calendar/Calendar.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/lib/calendar/Calendar.vue b/components/lib/calendar/Calendar.vue index 52af296eb..6e62ea665 100755 --- a/components/lib/calendar/Calendar.vue +++ b/components/lib/calendar/Calendar.vue @@ -255,7 +255,7 @@ v-for="(m, i) of monthPickerValues" :key="m" v-ripple - @click="onMonthSelect($event, { month: m, index: i })" + @click="onMonthSelect($event, i)" @keydown="onMonthCellKeydown($event, { month: m, index: i })" :class="cx('month', { month: m, index: i })" v-bind=" @@ -1672,7 +1672,7 @@ export default { clearInterval(this.timePickerTimer); } }, - onMonthSelect(event, { month, index }) { + onMonthSelect(event, index) { if (this.view === 'month') { this.onDateSelect(event, { year: this.currentYear, month: index, day: 1, selectable: true }); } else {