1. 在vue中存在数组和对象重新赋值时,会丢失响应式》。
解决方法:
let current = { ...this.choiceList[index], isTableEditer: true}
this.$set(this.choiceList,index,current)
1. 在vue中存在数组和对象重新赋值时,会丢失响应式》。
解决方法:
let current = { ...this.choiceList[index], isTableEditer: true}
this.$set(this.choiceList,index,current)