vue elementUI 表格增加序列号

<el-table-column fixed label="序号" width="50" align="center"> <template scope="scope"> <span>{{scope.$index + 1}} </span> </template> </el-table-column>