Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

只需要单一的开始时间的时候,设置开始时间的样式 #2

Closed
JieeOS opened this issue Nov 15, 2018 · 1 comment
Closed

Comments

@JieeOS
Copy link

JieeOS commented Nov 15, 2018

data:{
    timePickerConfig: {
      endDate: false,      //这里禁用了结束时间
      column: "minute",
      dateLimit: false,
      limitStartTime: "2015-05-06 12:32:44",
      limitEndTime: "2055-05-06 12:32:44"
    },
}

因为只想用一个时间选择器,所以配置了禁用结束时间,但是出现的时间选择会比当前的时间少一天,
比如今天是11-15日,但是timepicker默认选择的是11-14日,
我想你原本有开始和结束的时间时,会在开始时间上默认选中前一天的日期,
那我现在禁用结束的picker,怎么让默认的时间不提前呢?

@rover95
Copy link
Owner

rover95 commented Jul 5, 2019

增加了 initStartTime,initEndTime 配置项

@rover95 rover95 closed this as completed Jul 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants