Permalink
Browse files

fix: 修改日期控件容器高度,修复日期控件不能下跳月份

  • Loading branch information...
HuYuee committed Jul 10, 2017
1 parent 5e8464a commit 381fbe045b3808540ba94e81be8dfe4ee75f9349
Showing with 2 additions and 2 deletions.
  1. +1 −1 scss/ui/neoui-datetimepicker.scss
  2. +1 −1 src/neoui-datetimepicker.js
@@ -534,7 +534,7 @@ $date-bg-color: rgb(27,174,222) !default;
overflow-y: hidden;
width:100%;
//height: 356px;
height: 226px;
height: 233px;
.u-date-cell{
@@ -470,7 +470,7 @@ DateTimePicker.fn._fillDate = function(type) {
// 默认显示每个月的1号
tempDate = udate.getDateObj(tempDate.setDate(1));
} else {
tempDate = udate.add(this.endDate, 'd', 1);
tempDate = udate.add(this.endDate, 'd', 8);
// 默认显示每个月的1号
tempDate = udate.getDateObj(tempDate.setDate(1));
}

0 comments on commit 381fbe0

Please sign in to comment.