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

fix:[date-picker]: 修复在手动输入日期时间后,更改时间时会出现时分秒被禁用的情况。 #22818

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

DummerYou
Copy link

@DummerYou DummerYou commented Mar 6, 2024

删除了minDate监听事件里面的设置禁用时分秒方法,
更改开始或者结束时间会自动联动,结束时间必定大于开始时间,不存在禁用效果,
此方法会使手动修改时间后时分被禁用,不能选择时间
这次提交修复了这一问题,用户现在可以自由调整日期和时间范围,保持系统的灵活性和用户体验。

Please make sure these boxes are checked before submitting your PR, thank you!

  • Make sure you follow Element's contributing guide (中文 | English | Español | Français).
  • Make sure you are merging your commits to dev branch.
  • Add some descriptions and refer relative issues for you PR.

删除了minDate监听事件里面的设置禁用时分秒方法,
更改开始或者结束时间会自动联动,结束时间必定大于开始时间,不存在禁用效果,
此方法会使手动修改时间后时分被禁用,不能选择时间
这次提交修复了这一问题,用户现在可以自由调整日期和时间范围,保持系统的灵活性和用户体验。
@DummerYou
Copy link
Author

删除了minDate监听事件里面的设置禁用时分秒方法,
Deleted the method of setting the disabled hour, minute, and second in the minDate listening event.

更改开始或者结束时间会自动联动,结束时间必定大于开始时间,不存在禁用效果, 这段代码是无效并且错误的
Changing the start or end time will automatically link them together, with the end time always being greater than the start time. There is no disabled effect, and this code is invalid and incorrect.

如果你看到了这条信息,请帮我解决一下这个问题,或者告诉我能不能提交代码。我在使用的时候经常遇到错误,导致无法正常使用,这严重影响了我的体验。
If you have seen this message, please help me solve this problem, or let me know if I can submit the code. I often encounter errors when using it, which prevents it from functioning properly and significantly affects my experience.

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

Successfully merging this pull request may close these issues.

None yet

1 participant