Skip to content

Commit 56d93bf

Browse files
committed
Merge pull request yuche#153 from YongX/master
bugfix for Datepicker close method
2 parents 02cf372 + 61e4d2c commit 56d93bf

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)