-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Closed
Labels
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
Version
3.2.19
Environment
window11、Chrome 112.0.5615.138、Vue3.2.47
Reproduction link
Steps to reproduce
打开codesandbox链接即可看到错误表现:空字符串值(开始日期)被解析为了Invalid Date,并且点击开始日期切换时控件中的值变成了Invalid Date或NaN。把package.json中ant-design-vue的版本改为3.2.17,即可看到正常表现。
What is expected?
range-picker有只选择一个值(开始日期或结束日期)的方法
What is actually happening?
在3.2.18及之后(目前最新3.2.19),value中传空字符串错误。传null或者undefined也是相同表现。
业务中日期区间作为查询条件时,有只选择开始时间或者只选择结束时间的场景