Skip to content

Commit

Permalink
fix(module:date-picker): fix open next show error when set minDate ma… (
Browse files Browse the repository at this point in the history
#256)

* fix(module:date-picker): fix open next show error when set minDate maxDate
  • Loading branch information
nuonuoge authored and Guoyuanqiang committed Jan 20, 2019
1 parent f421746 commit 41f20f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/date-picker/date-picker.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ export class DatePickerComponent implements OnInit, OnDestroy, AfterViewInit {
this.checkMode(this.options.mode);
const value = this.transformDateFormat(this.options.value).split('-');
if (value.length > 0) {
this.currentTime = value.map(item => {
this.current_time = this.currentTime = value.map(item => {
return parseInt(item, 0);
});
}
Expand Down

0 comments on commit 41f20f5

Please sign in to comment.