[bug report] datetimepick selects only one date. When it is cleared, clicking again is invalid
Open
component: datetime-picker
type: bug
- Dominant language
- Vue
- Stars
- 54k
- Forks
- 14.4k
- PR merge metrics
- No merged PRs in 30d
Description
### Element UI version
2.15.6
### OS/Browsers version
windows10/谷歌Chrome-92.0.4515.159
### Vue version
2.6.14
### Reproduction Link
https://codepen.io/Panghongchuan/pen/gORwVye
### Steps to reproduce
1.只选择开始日期
2.点击清空按钮
3.再次选择日期
### What is Expected?
可以再次直接选择开始日期.
### What is actually happening?
点击两次才能选择开始日期,第一次点击是选择上次操作的结束日期。
点击清空没有清空,没有重置rangeState。才导致上面问题。
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.