vue 给数组每一项添加新字段

this.Array.forEach(item => {

  this.$set(item,'字段名称',字段值)

})

posted @ 2020-07-01 20:38  common\  阅读(7943)  评论(0编辑  收藏  举报