1、前端渲染table 序號

2、使用element ui
http://element-cn.eleme.io/#/zh-CN/component/table#zi-ding-yi-suo-yin
即‘通過給 type=index 的列傳入 index 屬性,可以自定義索引。’來實現。
<el-table-column label="序號" type="index" show-overflow-tooltip width="50">
</el-table-column>
不需要后端傳值。
