From 95acde285642ffad8c5fd3ed9265e3fa652586d4 Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Mon, 9 Aug 2021 10:07:36 +0800 Subject: [PATCH] refactor: calendar --- components/calendar/Header.tsx | 1 - components/calendar/generateCalendar.tsx | 6 ++---- components/vc-picker/PickerPanel.tsx | 14 ++++++++++++-- 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/components/calendar/Header.tsx b/components/calendar/Header.tsx index 3e55bdfca..374e186d9 100644 --- a/components/calendar/Header.tsx +++ b/components/calendar/Header.tsx @@ -39,7 +39,6 @@ function YearSelect(props: SharedProps) { for (let index = start; index < end; index++) { options.push({ label: `${index}${suffix}`, value: index }); } - return (