msg:function(newval,oldval){
console.log('newval is:' + newval)
console.log('oldval is:' + oldval)
}
这两个参数是怎么传进来的
巨人的肩膀给的
如果需要了解watch函数API,可以参考:watch
vue 调用的时候传给你的