[Vuejs]-Passing an array of objects as a function parameter gives me an Object

1👍

The error means that object value was provided where an array was expected, this includes primitive values that are coerced to built-in constructor instances.

There’s no way how provided code can cause this, considering that microservices is array prop.

Console output shows that microservices is component instance. There’s likely a ref of the same name that isn’t shown in the question. In this case prop and ref names shouldn’t be in conflict.

Leave a comment