-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Warnings on console when using Menu component #3998
Comments
我这边也出现了同样的问题,目前还不知道是啥原因,就是更新了新的版本之后就冒出来了 |
The same warnings occur when hovering or clicking on menu items. It does not have any impact to the functionalities and the warnings don't show after build. |
似乎没复现出来,哪个例子有问题我去试试 |
I also had the same problem :the console warning Set operation on key "xxxx" failed: target is readonly. |
i, too |
具体demo munu中使用了 |
我也是出現這個問題,報錯誤是Set operation on key "default" failed: target is readonly.
|
俺也一样 |
mark |
v2.1.2 没有此问题 |
检查一下warning的vue版本? |
升級了2.1.3就出現了 |
我前天试过,将vue版本回退到3.0.6也不行,3.0.11也是一样会出先这个问题,用的vite |
[email protected] same warnings |
"vue": "3.0.11", There is this warning message |
It seems that only vite env will report this warning, I reproduce this warning with [email protected]. Is there anyone have this warning without vite env? |
I had the same problem |
mark. |
[email protected] same warning |
mark |
"mark" or "I have the same problem" is very annoying, please stop spamming this thread. |
@vue/cli-service 4.5.12 |
If it helps... this is the versions that I see the problem, my env is vite
|
鼠标滑过Menu组件时报这个问题,也是最近更新过依赖版本后才有的 |
use vue 3.0.10 ref vuejs/core#3695 |
I've tried, but it's still unresolved. |
vue 同步使用 3.0.10 |
I am requesting for vue team the increase the urgency from p3-minor-bug, it should be p1 |
Good brother thank you ~ After replacing this item with |
辛苦了 |
同样的问题 |
还没有最终解决么?菜鸟也踏入此坑了。 |
我刚刚试了2.16 |
我刚刚试了2.16 |
Hi All, If you want to bring the issue to attention of VueJS maintainers, the issue link is here... |
mark! |
mark package.json dependencies
components
warn
|
mark! |
还是这个问题,一直没法解决。 |
"ant-design-vue": "2.1.2", "vite":^2.3.3 no warning |
Hi, The fixes have been merged... vuejs/core#3698 Please wait for the next update of vue-next, and then try out the fixes. The fix for this issue currently depends on vue and not ant-design-vue team. |
mark |
version 2.1.6; |
mark |
然而,vite build会报错~ |
"vue": "^3.0.0", |
实测可用!!! "ant-design-vue": "2.1.6" 却报错!! |
vue 3.1.1 has no more warnings, but a problem with layout is created... |
The version I use is: Then I updated vue to "vue": "3.1.1" The problem was solved 把vue 更新到 "vue": "3.1.1" 就好了 |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Version
2.1.3
Environment
Windows 10, Chrome 89, Vue 3.0.11
Reproduction link
https://2x.antdv.com/components/menu
Steps to reproduce
Use the example code for Menu, with version ant-design-vue version 2.1.3
What is expected?
It is working properly but...
What is actually happening?
There is warnings in the console
reactivity.esm-bundler.js:337 Set operation on key "" failed: target is readonly. {: 1, __vInternal: 1, default: ƒ}
The text was updated successfully, but these errors were encountered: