no allow to change month via swiping

This commit is contained in:
MaysWind
2025-05-07 00:11:30 +08:00
parent 81812bb31d
commit d3758ec02f
@@ -140,6 +140,7 @@
<vue-date-picker inline auto-apply model-type="yyyy-M-d" <vue-date-picker inline auto-apply model-type="yyyy-M-d"
month-name-format="long" month-name-format="long"
class="justify-content-center" class="justify-content-center"
:config="{ noSwipe: true }"
:disable-month-year-select="true" :disable-month-year-select="true"
:month-change-on-scroll="false" :month-change-on-scroll="false"
:month-change-on-arrows="false" :month-change-on-arrows="false"
@@ -148,6 +149,7 @@
:min-date="getShortDate(parseDateFromUnixTime(query.minTime))" :min-date="getShortDate(parseDateFromUnixTime(query.minTime))"
:max-date="getShortDate(parseDateFromUnixTime(query.maxTime))" :max-date="getShortDate(parseDateFromUnixTime(query.maxTime))"
:disabled-dates="noTransactionInMonthDay" :disabled-dates="noTransactionInMonthDay"
:prevent-min-max-navigation="true"
:clearable="false" :clearable="false"
:dark="isDarkMode" :dark="isDarkMode"
:week-start="firstDayOfWeek" :week-start="firstDayOfWeek"