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

DatePicker 的 presets 每次选择都是组件挂载时候的时分秒 [官网组件案例亦如此] #7311

Closed
1 task
shenmenga opened this issue Jan 25, 2024 · 2 comments
Labels

Comments

@shenmenga
Copy link

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

4.1.0

Environment

chrome 120.0.6099.234(正式版本) (arm64)

Reproduction link

https://next.antdv.com/components/date-picker-cn#components-date-picker-demo-presetted-ranges

Steps to reproduce

获取焦点,选择快捷范围,时分秒的时间停留在组件挂载的时刻

What is expected?

每次点击应该获取当前时刻

What is actually happening?

null

@bsuooo
Copy link
Contributor

bsuooo commented Jan 27, 2024

#7316 这个好像可以解决你的问题

Copy link

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants