diff --git a/src/components/date-picker/picker.vue b/src/components/date-picker/picker.vue index 42fa629..c840315 100644 --- a/src/components/date-picker/picker.vue +++ b/src/components/date-picker/picker.vue @@ -651,7 +651,7 @@ this.internalValue = Array.isArray(dates) ? dates : [dates]; } - this.focusedDate = this.internalValue[0]; + if (this.internalValue[0]) this.focusedDate = this.internalValue[0]; this.focusedTime = { ...this.focusedTime, time: this.internalValue.map(extractTime) -- libgit2 0.21.4