代码
<el-table-column label="序号" width="60" align="center">
<template slot-scope="scope">
{
{scope.$index+1}}
</template>
</el-table-column>
效果
代码
<el-table-column label="序号" width="60" align="center">
<template slot-scope="scope">
{
{scope.$index+1}}
</template>
</el-table-column>
效果