diff --git a/packages/calendar/index.ts b/packages/calendar/index.ts index 4c897360..3c58f8c9 100644 --- a/packages/calendar/index.ts +++ b/packages/calendar/index.ts @@ -144,6 +144,15 @@ VantComponent({ scrollIntoView: '', }, + watch: { + minDate() { + this.initRect(); + }, + maxDate() { + this.initRect(); + }, + }, + created() { this.setData({ currentDate: this.getInitialDate(this.data.defaultDate),