element-UI 下拉框select
下拉框change事件中传递自定义参数
@change="((val)=>{changeStatus(val, index)})"
<div v-for="(item,index) in itemList"> <el-select v-model="item.value" @change="((val)=>{changeStatus(val, index)})"> <el-option v-for="op in options" :key="op.key" :label="op.label" :value="op.label"> </el-option> </el-select> </div>