diff --git a/src/components/date-picker/panel/date.vue b/src/components/date-picker/panel/date.vue index 15b19f99..b29db3e2 100644 --- a/src/components/date-picker/panel/date.vue +++ b/src/components/date-picker/panel/date.vue @@ -181,6 +181,7 @@ this.year = this.date.getFullYear(); this.month = this.date.getMonth(); + if (reset) this.isTime = false; }, prevYear () { if (this.currentView === 'year') { diff --git a/test/routers/date.vue b/test/routers/date.vue index 41958569..ab2476fa 100644 --- a/test/routers/date.vue +++ b/test/routers/date.vue @@ -1,21 +1,14 @@