<div v-for="(item, index) in divList">
<el-select v-model="item.rewardType" class="cell_width" @change="((val)=>{changeRewardType(val,index)})">
<el-option
v-for="itemOpt in rewardTypeList"
:key="itemOpt.value"
:label="itemOpt.label"
:value="itemOpt.value"
></el-option>
</el-select>
<div v-if="index!=divList.length-1" style="line-height: 114px; font-size:32px; cursor: pointer;" @click="removeSetter(index)">-</div>
<div v-else style="line-height: 114px; font-size:32px; cursor: pointer;" @click="addSetter">+</div>
</div>
data(){
return{divList:[{rewardType:''}]}
}
addSetter(){
this.divList.push({rewardType:''});
},
removeSetter(i){
this.divList.splice(i,1)
}