Skip to content

Commit

Permalink
Merge pull request #5275 from landluck/hotfix/fix_issue_5262
Browse files Browse the repository at this point in the history
fix(calendar): fixed no confirm event in allow-same-day & no confirm button
  • Loading branch information
landluck authored Apr 3, 2023
2 parents 09d7d4f + db89819 commit 2f03def
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/calendar/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ VantComponent({
} else if (compareToStart === -1) {
this.select([date, null]);
} else if (allowSameDay) {
this.select([date, date]);
this.select([date, date], true);
}
} else {
this.select([date, null]);
Expand Down

0 comments on commit 2f03def

Please sign in to comment.