Skip to content

Commit 0313082

Browse files
authored
docs: revert demo (#6662)
1 parent ca4c120 commit 0313082

File tree

1 file changed

+1
-4
lines changed
  • src/components/calendar-picker/demos

1 file changed

+1
-4
lines changed

src/components/calendar-picker/demos/demo1.tsx

+1-4
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ export default () => {
1616
const [visible2, setVisible2] = useState(false)
1717
const [visible3, setVisible3] = useState(false)
1818

19-
// const singleDate: Date = new Date('2023-06-03')
20-
const singleDate: Date = new Date('2024-09-01')
19+
const singleDate: Date = new Date('2023-06-03')
2120

2221
return (
2322
<List header='日期选择'>
@@ -33,8 +32,6 @@ export default () => {
3332
defaultValue={singleDate}
3433
onClose={() => setVisible1(false)}
3534
onMaskClick={() => setVisible1(false)}
36-
min={new Date('2024-09-01')}
37-
max={new Date('2024-09-30')}
3835
/>
3936
</List.Item>
4037
<List.Item

0 commit comments

Comments
 (0)