Skip to content

Commit b0a1fa2

Browse files
committed
feat(datepicker): Reset default page date on close
1 parent 9a3a0de commit b0a1fa2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/Datepicker.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,7 @@ export default {
336336
close() {
337337
if (!this.isInline) {
338338
this.view = ''
339+
this.resetDefaultPageDate()
339340
this.$emit('closed')
340341
}
341342
},

0 commit comments

Comments
 (0)