1👍
✅
You can use deep
in watcher to watch object properties change.
Something like
watch: {
form: {
handler() {
console.log('form change')
},
deep: true
}
},
As in document
To also detect nested value changes inside Objects, you need to pass
in deep: true in the options argument. Note that you don’t need to do
so to listen for Array mutations.
I created a demo here
Source:stackexchange.com