-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
date-picker: fix modify props "placement" error #21908
Conversation
this PR #21806 erroneously changed "placement" `data` -> `props`
The same error... |
Element UI version fallback to 2.15.7 npm uninstall element-ui |
这个方法并不能解决问题 |
我也遇到这个问题了 |
为什么我element 2.15.6也有这个问题 |
npm uninstall element-ui npm install [email protected] 这样试试,应该能解决你的问题 |
it works!!!!!! THANKS! :3 |
This issue occurs again in 2.15.9. |
Same warning here I've updated my package.json file with the following to skip version 2.15.9 which has the props issue. This way when the next release comes out, it will get installed and hopefully not contain the issue.
|
Version 2.15.8 doesn't have this error, can use it
|
Removing the prop entirely from the NewPopper might cause some issue no? Surely replacing the createdAt hook code that sets the value with a prop default value factory function would be more suitable?
|
Your suggestion is good and the code is 6 years old , I think is not have bug. element/packages/date-picker/src/picker.vue Line 297 in 06392ad
element/packages/date-picker/src/picker.vue Lines 399 to 406 in acfc93a
|
俺也一样,别用2.15.9,用2.15.7或者2.15.8 |
it work! thanks! |
this PR ElemeFE#21806 erroneously changed "placement" `data` -> `props`
@lqzhgood 你好,我是element-ui官方维护团队的xinguanhua,非常感谢你以pr的方式,为element-ui组件库的完善贡献了一份力量。element-ui有一份礼物将会寄给你,希望能够提供寄件地址及联系方式,可以发送邮件到 [email protected]。 |
邮件已发送 |
!!! This error is on the current production version 2.15.9 , please quick fix
fix this error

because this PR #21806 add props
placement
to erroneously changed "placement"data
->props
detail in issues #21905
dev
branch.