vue踩过的坑 对自己好一点 2019-04-03 385 阅读1分钟 1、异步获取的数据,改变vue数组中的某一项的数据,改变不了,得用this.$set(this.staffList,index, res.data.data); //index是数组中的某一项