Closed ais-one closed 3 years ago
update 2.1.6
我刚刚试了2.16 vue:3.0.10 依然有警告
我刚刚试了2.16 vue:3.0.10 依然有警告
Hi All,
If you want to bring the issue to attention of VueJS maintainers, the issue link is here...
mark!
mark
"ant-design-vue": "^2.1.6",
"vue": "^3.0.0",
Menu
Set operation on key "default" failed: target is readonly.
mark!
还是这个问题,一直没法解决。
"ant-design-vue": "2.1.2", "vue": "3.0.11",
"vite":^2.3.3
no warning
Hi,
The fixes have been merged... https://github.com/vuejs/vue-next/pull/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
只要是修改:selectedKeys
的引用值就会报这个问题,不是vue的问题
version 2.1.6; vue@3.0.10 ; still warnings
mark
"vue": "^3.0.0", "ant-design-vue": "2.1.6", still warngings.....
"ant-design-vue": "2.1.2", "vue": "3.0.11",
"vite":^2.3.3
no warning
实测可用!!! "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: "vite": "2.1.5" "vue": "3.0.10" || "vue": "3.0.11" Both Set operation on key "default" failed: target is readonly. Question。
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: ƒ}