Skip to content

Commit

Permalink
fix: fix default height
Browse files Browse the repository at this point in the history
  • Loading branch information
LLmoskk committed Oct 24, 2024
1 parent 1e0f04b commit e6a3c8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/calendar-picker-view/calendar-picker-view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,8 @@ export const CalendarPickerView = forwardRef<

function renderBody() {
const totalMonths = Math.ceil(maxDay.diff(minDay, 'months', true))
// default 每个月的高度是 340px
const monthHeight = 340
// default 每个月的高度是 344px
const monthHeight = 344
const cells: {
year: number
month: number
Expand Down

0 comments on commit e6a3c8e

Please sign in to comment.