[Vuejs]-Updating state object using checkbox item – Vue.js

1👍

Try to observe that array using watcher property and inside the handler dispatch the action :

watch:{
   chosen(newVal,oldVal){

    this.$store.dispatch('yourAction',newVal);

   }
}



Leave a comment