Hören Sie Prop Change Vuejs

props: ['myprop'],
watch: { 
  myprop: function(newVal, oldVal) { // watch it
  console.log('Prop changed: ', newVal, ' | was: ', oldVal)
  }
}
Said HR