From a5ce7f487f3f6d1659627390517208c01edf01cb Mon Sep 17 00:00:00 2001 From: sanfengliao <31816772+sanfengliao@users.noreply.github.com> Date: Wed, 30 Dec 2020 17:24:59 +0800 Subject: [PATCH] fix(Calendar): change props.data to props.date to fix getDate bug #7837 (#7838) Co-authored-by: sanfordliao --- src/calendar/components/Month.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calendar/components/Month.js b/src/calendar/components/Month.js index 9ce97b7b4..2e1811a83 100644 --- a/src/calendar/components/Month.js +++ b/src/calendar/components/Month.js @@ -65,7 +65,7 @@ export default createComponent({ const shouldRender = computed(() => visible.value || !props.lazyRender); - const getDate = () => props.data; + const getDate = () => props.date; const getTitle = () => title.value; const scrollIntoView = (body) => {