el-table表格序号显示

 

<el-table-column label="序号" type="index" align="center" width="60"  >
          <template slot-scope="scope">{{(pageIndex-1)*pageSize+scope.$index+1}}</template>
</el-table-column>

 

posted @ 2025-02-27 11:11  君子笑而不语  阅读(315)  评论(0)    收藏  举报