diff --git a/src/calendar/index.js b/src/calendar/index.js index ee87d653c..7cb06c4d5 100644 --- a/src/calendar/index.js +++ b/src/calendar/index.js @@ -166,9 +166,10 @@ export default createComponent({ this.$nextTick(() => { const { currentDate } = this; const targetDate = this.range ? currentDate[0] : currentDate; + const displayed = this.value || !this.poppable; /* istanbul ignore if */ - if (!targetDate) { + if (!targetDate || !displayed) { return; }