Skip to content

Commit

Permalink
docs: revert demo
Browse files Browse the repository at this point in the history
  • Loading branch information
zombieJ committed Jul 3, 2024
1 parent ca4c120 commit c696580
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/components/calendar-picker/demos/demo1.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<List header='日期选择'>
Expand All @@ -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')}
/>
</List.Item>
<List.Item
Expand Down

0 comments on commit c696580

Please sign in to comment.