Skip to content
This repository has been archived by the owner on Dec 6, 2021. It is now read-only.

Commit

Permalink
fix(calendar): #55 failed to switch to next month if page rendered
Browse files Browse the repository at this point in the history
  • Loading branch information
b2nil committed Oct 28, 2020
1 parent b450cba commit e4271f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/calendar/body/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ const AtCalendarBody = defineComponent({
circular: true,
vertical: props.isVertical,
skipHiddenItemLayout: true,
current: 1,
current: currentSwiperIndex.value,
onChange: handleChange,
onTouchMove: handleSwipeTouchMove,
onTouchEnd: handleSwipeTouchEnd,
Expand Down

0 comments on commit e4271f2

Please sign in to comment.