1watch: {
2 item: {
3 handler(val){
4 // do stuff
5 },
6 deep: true
7 }
8}
9
1...
2watch:{
3 'item.someOtherProp'(newVal){
4 //to work with changes in "myArray"
5 },
6 'item.prop'(newVal){
7 //to work with changes in prop
8 }
9}
1// Use a deep watcher for that:
2
3watch: {
4 item: {
5 handler(val){
6 // do stuff
7 },
8 deep: true
9 }
10}