// 数组
this.$set(this.items, 1, {attribute1:1})

// 对象
this.obj=Object.assign({},this.obj,{newObjAttr:1}))
Logo

前往低代码交流专区

更多推荐