ant-design-vue icon indicating copy to clipboard operation
ant-design-vue copied to clipboard

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

Open shenmenga opened this issue 1 year ago • 1 comments
trafficstars

  • [ ] 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

shenmenga avatar Jan 25 '24 03:01 shenmenga

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

ryne6 avatar Jan 27 '24 11:01 ryne6

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

github-actions[bot] avatar Mar 28 '24 02:03 github-actions[bot]