watch 监听数组的变化

使用splice 或 

this.$set()
参数1:目标元素
参数2:属性名称/数组下标
参数3: value值
例如
this.$set(this.arr,0,100)
this.$set(this.obj,"sex","男")
原文地址:https://www.cnblogs.com/qing-xrr/p/11248610.html