elementUI table 表格序号index 翻页 增加

<el-table-column type="index" label="序号" : index="indexMethod" width="90" align="center" ></el-table-column>

......

    //序号Index 翻页递增  currentPage 当前页, fetchNum 当前页显示条数
indexMethod(index){
    return(this.currentPage-1)*this.fetchNum +index+1;
}
原文地址:https://www.cnblogs.com/yysbolg/p/13649582.html