ElemeFE / element

A Vue.js 2.0 UI Toolkit for Web
https://element.eleme.io/
MIT License
54.12k stars 14.64k forks source link

[bug report] El date picker component, type = datetimerange, cannot be set: the start time can only select the current time, the time after the specified minute, and the time before the specified minute is not selected #19813

Open yyj66 opened 4 years ago

yyj66 commented 4 years ago

Element UI version

2.13.2

OS/Browsers version

win10 chrome 83.0.4103.116

Vue version

3.0.0-beta.20

Reproduction Link

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

Steps to reproduce

点击组件,展示出来的数据中,当前都是不可以选择的。

What is Expected?

期待:只能选择当前时间15分钟以后的时间

What is actually happening?

当天的时间都不可以选择了。不是期望的结果

element-bot commented 4 years ago

Translation of this issue:

Element UI version

2.13.2

OS/Browsers version

win10 chrome 83.0.4103.116

Vue version

3.0.0-beta.20

Reproduction Link

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

Steps to reproduce

Click the component, and all the data displayed are currently not available for selection.

What is Expected?

Expectation: you can only select the time after 15 minutes of the current time

What is actually happening?

You can't choose the time of the day. Not the desired result

stale[bot] commented 3 years ago

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.

StormKennen commented 1 year ago

element组件,子组件有携带对应的方法,选中日期后,会更新时间范围的禁用。 The subcomponent has corresponding methods. After selecting the date, the disabled range of the time will be updated. https://juejin.cn/post/7122879562643406884