这里拿到每一行的index----------scope.$index
这里拿到每一行的数据-----------scope.row
转: https://blog.csdn.net/bright2017/article/details/77452648