new Vue({ watch: { name: function(newValue, oldValue){ } } })
Vue’s responsiveness is the ob.observe() method, and there is no need for dirty monitoring methods like watch.
vue also has watch method, see http://cn.vuejs.org/guide/com...
Vue provides a more general method to reflect data changes through watch settings
Vue’s responsiveness is the ob.observe() method, and there is no need for dirty monitoring methods like watch.
vue also has watch method, see http://cn.vuejs.org/guide/com...
Vue provides a more general method to reflect data changes through watch settings