<el-table-column label='序号'>
<template slot-scope="scope">
<!-- 方法一 -->
<span v-text="scope.$index+1"></span>
<!-- 方法二 -->
{{scope.$index+1}}
<!-- 传参 -->
<span @click='getInd(scope.$index)'>{{scope.$index}}</span>
</template>
</el-table-column>
methods:{
getInd(ind){
console.log(ind);//可以拿到当前表格数据的下标
}
}