[Vuejs]-Tricky problem with mutations arrays in Vuex, how to solve?

0👍

You can use the Vue.set() function.

In your mutation method do something like:

Vue.set(state, 'data', payload);

Documentation

Leave a comment