watch object state changes with deep params on Vue2
watch: {
row: {
handler: function(newVal, oldVal) {
if(newVal.config.showAvatar != oldVal.config.showAvatar) {
// actions
}
},
deep: true,
}
}