-
-
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
[Component] [date-picker] el-date-qpicker 组件,计算属性在vue3.4.19下,控制台有警告,Computed is still dirty after getter evaluation, likely because a computed is mutating its own dependency in its getter. State mutations in computed getters should be avoided. #15857
Comments
Just in case this error message was introduced in 3.4.19 as a new feature: Features dx: warn users when computed is self-triggering (vuejs/core#10299) (f7ba97f) See: https://github.com/vuejs/core/blob/main/CHANGELOG.md#3419-2024-02-13 |
3.2.13也遇到了这个警告。 |
退回到3.4.15就不报 |
+1 |
Same issue for vue 3.4.19 and element-plus 2.5.6. Warning pops up for even the simplest date picker. |
+1 |
Waiting for repair |
vue@3.4.20 + element-plus@2.5.6,The warning is gone |
vue@3.4.27, element-plus@2.7.3 依旧存在这个问题 |
Bug Type:
Component
Environment
3.4.19
2.5.5
chrome 100
Webpack
Reproduction
Related Component
el-date-picker
Reproduction Link
Element Plus Playground
Steps to reproduce
计算属性有警告
What is Expected?
修复这个问题
What is actually happening?
有问题
Additional comments
(empty)
The text was updated successfully, but these errors were encountered: