vue this.$set

 
this.$set(this.tags, index, field);
 

调用方法: Vue.set( target , key , value)

  • target: 要更改的数据源(可以是一个对象或者数组)
  • key 要更改的具体数据 (索引)
  • value 重新赋的值
原文地址:https://www.cnblogs.com/150536FBB/p/13293911.html