- this.autoIrrigationFertilizerStrategy 是要被修改的数组
- this.selectedAutoECPHIndex 是索引
- ecphStrategy 是要被替换的对象
- data.para 是用来替换的对象
替换后, this.autoIrrigationFertilizerStrategy 数组中索引为this.selectedAutoECPHIndex 下的对象ecphStrategy 被替换成了 data.para
this.$set(this.autoIrrigationFertilizerStrategy[this.selectedAutoECPHIndex],"ecphStrategy",data.para);