[Vuejs]-How set entire object in computed property VUEjs

0👍

By the error message you have, it looks like dataProps is a property of your component and properties can’t be mutated. Try assigning Object.assign({}, newValue); to a data variable and not a variable from props.

Leave a comment