watch 就是监听,当数据发生改变的时候就执行
data:{ num1:1, num2:2 }, watch:{ num1(newValue){ }, num2(newValue,oldValue){ } }