Skip to content

Commit

Permalink
chore: delete jugdement
Browse files Browse the repository at this point in the history
  • Loading branch information
wenqi73 committed Aug 6, 2019
1 parent 2360250 commit da5e3fd
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions components/calendar/date-table.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,7 @@ export class DateTableComponent implements OnInit, OnChanges {
.setYear(value.getYear())
.setMonth(value.getMonth())
.setDate(value.getDate());

if (this.value !== newValue) {
this.valueChange.emit(newValue);
}
this.valueChange.emit(newValue);
}

private makeHeadWeekDays(): WeekDayLabel[] {
Expand Down

0 comments on commit da5e3fd

Please sign in to comment.