vue elementUI 表格增加序列号
2018-09-18 本文已影响0人
别再骗自己
<el-table-column fixed label="序号" width="50" align="center"> <template scope="scope"> <span>{{scope.$index + 1}} </span> </template> </el-table-column>

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