We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Bug Type: Component
Component
3.4.23
2.7.2
Chrome/124.0.0.0 Safari/537.36
Vite
el-date-picker
Element Plus Playground
只有选择周的时候才更新v-model或者在面板关闭的时候如果没有选择周则不触发change事件
v-model被立即变更,且如果使用change事件,也会在面板关闭后抛出change事件,值为选择的年或者月份,并不是我真正选的值(如果没有真正选择的情况)
我看了element-ui的版本是没有问题的,只有element-plus才有这个问题
The text was updated successfully, but these errors were encountered:
@FrontEndDog 大佬,你这个commit 里面没通过lint检查,有个console?大佬只处理了week的吗?可以一起处理一下month的吗? 然后就是这个如果你直接改掉的话,会不会有兼容问题?就是官方这样做会不会是有些需求需要这样的处理方式?如果有兼容问题的话可以用一个参数判断?
Sorry, something went wrong.
lint检查之前已经改了 你可能没注意到
我认真查看了代码逻辑,想不通为什么在这边需要执行一次handleKeyControl,当然,这个修改还需要其他成员审核。
Successfully merging a pull request may close this issue.
Bug Type:
Component
Environment
3.4.23
2.7.2
Chrome/124.0.0.0 Safari/537.36
Vite
Reproduction
Related Component
el-date-picker
Reproduction Link
Element Plus Playground
Steps to reproduce
What is Expected?
只有选择周的时候才更新v-model或者在面板关闭的时候如果没有选择周则不触发change事件
What is actually happening?
v-model被立即变更,且如果使用change事件,也会在面板关闭后抛出change事件,值为选择的年或者月份,并不是我真正选的值(如果没有真正选择的情况)
Additional comments
我看了element-ui的版本是没有问题的,只有element-plus才有这个问题
The text was updated successfully, but these errors were encountered: