Skip to content

Commit

Permalink
Merge pull request #944 from dcloudio/fix-calendar-clickTwice
Browse files Browse the repository at this point in the history
fix:修复calendar在选择日期范围后重新选择日期需要点两次的Bug
  • Loading branch information
GRCmade authored Aug 28, 2024
2 parents 7fa0c0f + eaf3ed4 commit f284564
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uni_modules/uni-calendar/components/uni-calendar/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ class Calendar {

if (!this.range) return
if (before && after) {
this.multipleStatus.before = ''
this.multipleStatus.before = fullDate
this.multipleStatus.after = ''
this.multipleStatus.data = []
} else {
Expand Down

1 comment on commit f284564

@GRCmade
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.