vue1.0和vue2.0的watch监听事件写法详解 如下所示:watch:{aaa:{handler:function(newVal,oldVal){console.log('当前的值:'+newVal);console.log('旧的值' vue1.0