vue watch监听对象及对应值的变化详解 如下所示:varvm=newVue({data:{a:1,b:{c:1}},watch:{a(val,oldVal){//普通的watch监听console.log("a:"+val,oldVal); watch监听对象