The element UI table component gets the index of the current row of the table

{ { (currentPage-1)*3 + scope.$index+1 }}

API:
currentPage current page number;
3 indicates the number of columns

Guess you like

Origin blog.csdn.net/Aa__Ki/article/details/108785981