设置数组
data() {
return {
Time:[],
}
},
//第二个为下标
this.$set(this.Time, 0, inRow.beginTime)
this.$set(this.Time, 1,inRow.endTime)
设置对象中的值
data() {
return {
temp:{
channel:''
},
}
},
this.$set(this.temp, 'channel', '微信小程序')