-
Notifications
You must be signed in to change notification settings - Fork 362
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
[DatePcker] 日期区间选择不符合操作逻辑 #1518
Comments
👋 @shikaiguo,感谢给 TDesign 提出了 issue。 |
当你左侧时间比右侧大的时候会帮你调换位置,因为组件要保持左侧时间一定比右侧小,这里会让你困惑的应该是调换了顺序后光标又从左侧变到右侧导致了你想修改开始时间还得点回第一个输入框吧? |
个人理解,当打开编辑一条已有内容时:
现有组件下,确实第二次操作是有困惑的,相当于虽然重新选择了一个区间,都是在修改右侧的数据 |
tdesign-vue 版本
0.47.0
重现链接
https://tdesign.tencent.com/vue/components/date-picker#%E6%97%A5%E6%9C%9F%E5%8C%BA%E9%97%B4%E9%80%89%E6%8B%A9%E5%99%A8
重现步骤
起始日期未变化,两次都更新了结束日期
2 3步骤改成点击右侧选择靠前一样有这个问题
期望结果
2022-09-16 - 2022-09-18
2022-09-16 - 2022-09-22
2022-09-22 - 2022-09-25
实际结果
2022-09-16 - 2022-09-18
2022-09-16 - 2022-09-22
2022-09-16 - 2022-09-25
框架版本
No response
浏览器版本
No response
系统版本
No response
Node版本
No response
补充说明
No response
The text was updated successfully, but these errors were encountered: