是
table
RT, $index
$index
hlswsv351#
Please provide minimum expected code
rsl1atfo2#
@webvs2
<el-table row-key="rowKeyMethod" methods: { rowKeyMethod: function(row) { console.log($index); // row在当前的data数组的index return uuid; } }
2条答案
按热度按时间hlswsv351#
Please provide minimum expected code
rsl1atfo2#
@webvs2