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);
}
}
Source:stackexchange.com
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);
}
}