diff --git a/packages/vant/src/calendar/Calendar.tsx b/packages/vant/src/calendar/Calendar.tsx index 6ddfa66c8..dd1baa47c 100644 --- a/packages/vant/src/calendar/Calendar.tsx +++ b/packages/vant/src/calendar/Calendar.tsx @@ -308,8 +308,8 @@ export default defineComponent({ // add Math.floor to avoid decimal height issues // https://github.com/youzan/vant/issues/5640 bodyHeight = Math.floor(useRect(bodyRef).height); - scrollToCurrentDate(); }); + scrollToCurrentDate(); }; const reset = (date = getInitialDate()) => {