elementUI表格点击行按钮传参
<el-table-column fixed="right"
label="操作"
width="80">
<template slot-scope="scope">
<el-button @click="showPatient(scope.row)" type="text" size="small">查看</el-button>
</template>
</el-table-column>
methods: {
showPatient(row) {
console.log(row)
}
}