Skip to content

Commit

Permalink
修复日期显示文本年显示成月错误
Browse files Browse the repository at this point in the history
  • Loading branch information
zhoust committed Nov 13, 2018
1 parent 31f8af0 commit 626ed9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datepicker/datepicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@
console.log('updateHtml type=>', type);
switch (type) {
case 'yearChange':
this.elem_wrap.querySelector('.atie-calendar-year-select').innerHTML = this.dateOpt._year + '';
this.elem_wrap.querySelector('.atie-calendar-year-select').innerHTML = this.dateOpt._year + '';
this.elem_wrap.querySelector('.atie-calendar-month-select').innerHTML = this.dateOpt._month + 1 + '月';
break;
case 'monthChange':
Expand Down

0 comments on commit 626ed9b

Please sign in to comment.