Skip to content

Commit

Permalink
fix(calendar): modes prop error
Browse files Browse the repository at this point in the history
  • Loading branch information
Estelle00 authored Aug 27, 2024
1 parent ca33925 commit b4b01a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web-vue/components/calendar/calendar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ export default defineComponent({
<Header
move={move}
headerValueFormat={headerValueFormat}
modes={['month', 'year']}
modes={props.modes}
mode={computedMode.value}
pageShowData={pageShowDate.value}
dayStartOfWeek={props.dayStartOfWeek}
Expand Down

0 comments on commit b4b01a6

Please sign in to comment.