element Unreasonable disable of [bug report] time period

3yhwsihp  于 5个月前  发布在  其他
关注(0)|答案(3)|浏览(96)

Element UI version

2.13.2

OS/Browsers version

win10、谷歌

Vue version

3.0.0-beta.14

https://codepen.io/pen/?&editable=true=https%3A%2F%2Felement.eleme.cn%2F

Steps to reproduce

1.时间选择器,选择开始时间结束时间日期一致,均为2020-05-27日;
2.开始时间的小时手动输入23(注意是手动使用键盘输入),点击确定;
3.尝试使用结束时间的小时选择21之前的数据

What is Expected?

结束时间的小时可以选择21之前的数据(我期待的是与鼠标选择的类似,鼠标选择开始时间为2020-05-27 23:00:00,然后选择结束时间为2020-05-27 21:00:00是可行的)

What is actually happening?

实际2020-05-27 23:00:00之前的时间被禁用了,只能选择2020-05-27 23:00:00之后的时间

cclgggtu

cclgggtu1#

Translation of this issue:

Element UI version

2.13.2

OS/Browsers version

Win10, Google

Vue version

3.0.0-beta.14

https://codepen.io/pen/?&editable=true=https%3A%2F%2Felement.eleme.cn%2F

Steps to reproduce

  1. Time selector: the start time and end time are the same, both of which are 2020-05-27;
  2. Manually input 23 hours of start time (note that it is manually input by keyboard), and click OK;
  3. Try to use the hour of end time to select the data before 21

What is Expected?

You can select the data before 21 for the end time (I expect it is similar to the mouse selection. It is feasible to select the start time of 2020-05-27 23:00:00 and then the end time of 2020-05-27 21:00:00)

What is actually happening?

The actual time before 23:00:00 on May 27, 2020 is disabled. Only the time after 23:00 on May 27, 2020 can be selected

ubof19bj

ubof19bj2#

Translation of this issue:

Element UI version
2.13.2

OS/Browsers version
Win10, Google

Vue version
3.0.0-beta.14

Reproduction Link
https://codepen.io/pen/?&editable=true=https%3A%2F%2Felement.eleme.cn%2F

Steps to reproduce
Time selector: the start time and end time are the same, both of which are 2020-05-27;

Manually input 23 hours of start time (note that it is manually input by keyboard), and click OK;

Try to use the hour of end time to select the data before 21

What is Expected?
You can select the data before 21 for the end time (I expect it is similar to the mouse selection. It is feasible to select the start time of 2020-05-27 23:00:00 and then the end time of 2020-05-27 21:00:00)

What is actually happening?
The actual time before 23:00:00 on May 27, 2020 is disabled. Only the time after 23:00 on May 27, 2020 can be selected

qcuzuvrc

qcuzuvrc3#

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.

相关问题