【element-ui】element ui table获取当前行索引

前言

(当前页数-1)*每页条数 + scope.$index + 1

(param.curpageno - 1) * param.pagesize + scope.$index + 1

页数减一的原因是每页从1开始的。具体情况自己试试就清楚了。

猜你喜欢

转载自blog.csdn.net/s1441101265/article/details/113841927