Element UI version
2.13.2
OS/Browsers version
Linux/Chrome
Vue version
3.0.0-beta.20
Reproduction Link
https://codepen.io/mak-lohho/pen/pogKoGN
Steps to reproduce
日期选择器组件,当type=datetimerange时,picker-options可以自定义不可选日期,但怎么自定义不可选的时间?比如不可选当日12:00之前的时间要怎么实现?
What is Expected?
当type=datetimerange,可以自定义不可选的时间范围
What is actually happening?
暂找不到相应配置方式
4条答案
按热度按时间0vvn1miw1#
Translation of this issue:
Element UI version
2.13.2
OS/Browsers version
Linux/Chrome
Vue version
3.0.0-beta.20
Reproduction Link
https://codepen.io/mak-lohho/pen/pogKoGN
Steps to reproduce
For the date selector component, when type = datetimerange, picker options can customize the non optional date, but how to customize the non optional time? For example, if you can't select the time before 12:00 of the day, how to achieve it?
! depth screenshot_ Select area_ 20200710112705
What is Expected?
When type = datetimerange, you can customize the optional time range
What is actually happening?
The corresponding configuration mode cannot be found temporarily
ivqmmu1c2#
遇到同意的问题!!!
1sbrub3j3#
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
dhxwm5r44#
element组件,子组件有携带对应的方法,选中日期后,会更新时间范围的禁用
https://juejin.cn/post/7122879562643406884