element-ui中如何拿到表格当前行的索引

@click="removeCondition(scope.$index,scope.row)"
scope.$index就是当前点击行的索引

猜你喜欢

转载自blog.csdn.net/weixin_43565820/article/details/90286745