Problem description: When using element-ui, I want to pass parameters in the el-button of the el-table when looping.
Problem solving:
1: As stated on the official website, if you want to get the id or the parameters you want to pass, write it like: scope.row.id,
if you just want to pass the subscript: scope.$index
2: The result of my own writing is as follows: