element -plus el-table序号翻页连续
<el-table-column label="序号" type="index" align="center" width="50">
<template #default="scope">
<span>{{(current_page-1)*pageSize + scope.$index+1}}</span>
</template>
</el-table-column>
current_page:当前页码
pageSize : 每页条数
本文来自博客园,作者:小虾米吖~,转载请注明原文链接:https://www.cnblogs.com/LindaBlog/p/17459544.html