arr = ['a','b','c','d'] arr.splice(1,1) //['a','c','d'] vue动态改变对象的值 this.$set(this.dataBox, index, this.dataBox[index])
博客列表 >js删除数组中其中一项
arr = ['a','b','c','d'] arr.splice(1,1) //['a','c','d'] vue动态改变对象的值 this.$set(this.dataBox, index, this.dataBox[index])