You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Errors "Avoid using non-primitive value as key, use string/number value instead." and "Error in created hook: "TypeError: Cannot read property 'addItem' of undefined"" displayed in the console and the NavMenu does not appear
The text was updated successfully, but these errors were encountered:
In 1.4.0 we added a key, which is a Boolean, to Menu. That's why the warning comes out. It seems next Vue version will support Boolean typed keys: vuejs/vue#6127 , but still we'll convert it to a string/number.
Element UI version
1.4.0-beta.1
OS/Browsers version
Chrome Version 59.0.3071.115 (Official Build) (64-bit)
Vue version
2.4.1
Reproduction Link
https://jsfiddle.net/2fwn5qq1/
Steps to reproduce
Add a NavMenu element and open the page
What is Expected?
The NavMenu should appear
What is actually happening?
Errors "Avoid using non-primitive value as key, use string/number value instead." and "Error in created hook: "TypeError: Cannot read property 'addItem' of undefined"" displayed in the console and the NavMenu does not appear
The text was updated successfully, but these errors were encountered: