<el-table
ref="multipleTable"
:data="goodsData"
border
stripe
element-loading-text="拼命加载中"
tooltip-effect="dark"
style="width: 100%"
max-height="300"
@row-dblclick="dataBackFillGoods(row,$event)"
>
dataBackFillGoods (row, column) {
this.operaAddTxt="添加(ctrl+enter)"
console.log(row)
console.log(column)
this.goodsForm = row
},
我想在双击table中某一行的时候获取当前行的索引,应该怎么写啊,我现在只能渠道当前行的数据,
@row-dblclick="dataBackFillGoods"
这句 括号里不要写就行了