<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; }
<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; }