From c696580a5063b1641c52b039ce51bd2e3287a9ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8C=E8=B4=A7=E6=9C=BA=E5=99=A8=E4=BA=BA?= Date: Wed, 3 Jul 2024 11:51:03 +0800 Subject: [PATCH] docs: revert demo --- src/components/calendar-picker/demos/demo1.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/components/calendar-picker/demos/demo1.tsx b/src/components/calendar-picker/demos/demo1.tsx index c11184b48f..0381bd3ecb 100644 --- a/src/components/calendar-picker/demos/demo1.tsx +++ b/src/components/calendar-picker/demos/demo1.tsx @@ -16,8 +16,7 @@ export default () => { const [visible2, setVisible2] = useState(false) const [visible3, setVisible3] = useState(false) - // const singleDate: Date = new Date('2023-06-03') - const singleDate: Date = new Date('2024-09-01') + const singleDate: Date = new Date('2023-06-03') return ( @@ -33,8 +32,6 @@ export default () => { defaultValue={singleDate} onClose={() => setVisible1(false)} onMaskClick={() => setVisible1(false)} - min={new Date('2024-09-01')} - max={new Date('2024-09-30')} />