element UI table组件获取表格当前行的索引

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

API:
currentPage 当前页码;
3表示列数

猜你喜欢

转载自blog.csdn.net/Aa__Ki/article/details/108785981
今日推荐