diff --git a/src/components/calendar/Calendar.vue b/src/components/calendar/Calendar.vue index bdffa8587..4952c4c00 100755 --- a/src/components/calendar/Calendar.vue +++ b/src/components/calendar/Calendar.vue @@ -2186,15 +2186,11 @@ export default { computed: { viewDate() { let propValue = this.modelValue; - if (typeof propValue === 'string') { - return new Date(); - } - if (propValue && Array.isArray(propValue)) { propValue = propValue[0]; } - if (propValue) { + if (propValue && typeof propValue !== 'string') { return propValue; } else {