From 51bcfc8de5208dd9e7b4d848c805bea472f0cb4c Mon Sep 17 00:00:00 2001 From: joffrey Date: Thu, 29 Apr 2021 18:33:35 +0200 Subject: [PATCH] upgrade package --- README.md | 4 ++-- package.json | 2 +- src/components/DatePicker/index.vue | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 8a46fefe..c2adece2 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -# Release 1.0.8 -https://github.com/joffreyBerrier/vue-hotel-datepicker/releases/tag/1.0.8 +# Release 1.0.9 +https://github.com/joffreyBerrier/vue-hotel-datepicker/releases/tag/1.0.9 # vue-hotel-datepicker@2 diff --git a/package.json b/package.json index 7922b685..ed2731cf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vue-hotel-datepicker2", - "version": "1.0.8", + "version": "1.0.9", "author": "Joffrey Berrier - Origin created by krystalcampioni", "description": "Vue date range picker component fork of vue-hotel-datepicker create by krystalcampioni", "main": "dist/vueHotelDatepicker2.common.js", diff --git a/src/components/DatePicker/index.vue b/src/components/DatePicker/index.vue index 388fc7eb..ded428e7 100644 --- a/src/components/DatePicker/index.vue +++ b/src/components/DatePicker/index.vue @@ -1303,8 +1303,6 @@ export default { } }, renderNextMonth() { - this.$emit("renderNextMonth"); - const countOfDesktopMonth = this.isDesktop ? this.countOfDesktopMonth : this.countOfMobileMonth; @@ -1338,6 +1336,8 @@ export default { this.createMonth(this.getNextMonth(firstDayOfLastMonth.date)); this.activeMonthIndex++; + + this.$emit("renderNextMonth"); }, setCheckIn(date) { this.checkIn = date;