Skip to content

Commit

Permalink
chore: update date-picker comment notes (#12899)
Browse files Browse the repository at this point in the history
  • Loading branch information
wacky6 authored and ziyoung committed Sep 27, 2018
1 parent 143f0c6 commit e772579
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/date-picker/src/panel/date-range.vue
Original file line number Diff line number Diff line change
Expand Up @@ -387,8 +387,6 @@
} else if (Array.isArray(newVal)) {
this.minDate = isDate(newVal[0]) ? new Date(newVal[0]) : null;
this.maxDate = isDate(newVal[1]) ? new Date(newVal[1]) : null;
// NOTE: currently, maxDate = minDate + 1 month
// should allow them to be set individually in the future
if (this.minDate) {
this.leftDate = this.minDate;
if (this.unlinkPanels && this.maxDate) {
Expand Down

0 comments on commit e772579

Please sign in to comment.