diff --git a/src/components/date-picker/panel/date.vue b/src/components/date-picker/panel/date.vue index 15b19f9..b29db3e 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 4195856..ab2476f 100644 --- a/test/routers/date.vue +++ b/test/routers/date.vue @@ -1,21 +1,14 @@ -- libgit2 0.21.4