在Vue对象中的methods属性中构建一个方法用于刷新data
使用Vue.set方法进行手动刷新
methods:{
update:function(o){
Vue.set(this,'list',o);
}
}
其中list是我的数组变量名