vue+elementUI对table的某一列数据添加点击事件
<el-table-column prop="projectName" :label="$t{list.projectName}">
<template slot-scope="scope">
<el-button
type="text"
@click="seeInfo(scope.row)">{{scope.row.projectName}}</el-button>
</template>
</el-table-column>
<!-- js部分 -->
methods:{
seeInfo(scope.row){
//要做的事
}
}