Skip to content

Commit

Permalink
fix: 修复左右面板切换错位问题 (#1400)
Browse files Browse the repository at this point in the history
  • Loading branch information
honkinglin authored Aug 29, 2022
1 parent 891b398 commit 45c0503
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/date-picker/panel/RangePanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ export default defineComponent({
key="startPanel"
{...{
props: {
partial: this.activeIndex ? 'end' : 'start',
partial: 'start',
year: this.year[0],
month: this.month[0],
time: this.time[0],
Expand All @@ -186,7 +186,7 @@ export default defineComponent({
key="endPanel"
{...{
props: {
partial: this.activeIndex ? 'end' : 'start',
partial: 'end',
year: this.year[1],
month: this.month[1],
time: this.time[1],
Expand Down

0 comments on commit 45c0503

Please sign in to comment.