-
-
Notifications
You must be signed in to change notification settings - Fork 33.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
mergeData cannot works properly with Array #4191
Comments
It seems |
|
This seems to be a bug in the VueCharts library, because |
The VueCharts library does not pass an array as the Here's another example without VueCharts: And I think the |
There is indeed a bug in After the fix you should see a warning message telling you not to do that. |
Vue.js version
2.0.5
Reproduction Link
https://jsfiddle.net/crjL62kL/4/
Steps to reproduce
1 Create an array
2 Add something to Array.prototype or add some property to the array obj
3 use this array as data and trigger mergeData
What is Expected?
the array is merged withou error and without key-values in prototype
What is actually happening?
TypeError or key-values in prototype is copy to the array
The text was updated successfully, but these errors were encountered: