Skip to content

Commit 61e4d2c

Browse files
committed
bugfix for Datepicker close method
1 parent 0354d4e commit 61e4d2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Datepicker.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export default {
138138
},
139139
methods: {
140140
close() {
141-
this.displayDayView = this.displayMonthView = this.displayMonthView = false
141+
this.displayDayView = this.displayMonthView = this.displayYearView = false
142142
},
143143
inputClick() {
144144
if (this.displayMonthView || this.displayYearView) {

0 commit comments

Comments
 (0)