tabletimeelementUI的row-click事件如何使⽤参数<template>
<el-table
:data="tableData"
:key="random"
:header-cell-
:cell-
@row-click="navigatorEdit"
>
<el-table-column prop="alias" label="昵称"> </el-table-column>
<el-table-column prop="telephone" label="⼿机号码"> </el-table-column>
<el-table-column prop="stu_id_cards" label="学⽣⾝份数量">
</el-table-column>
<el-table-column prop="teach_id_cards" label="⽼师⾝份数量">
</el-table-column>
<el-table-column prop="register_time" label="注册时间">
</el-table-column>
<el-table-column prop="state" label="状态"> </el-table-column>
<el-table-column prop="channel" label="渠道"> </el-table-column>
<el-table-column prop="user_group" label="⽤户分组"> </el-table-column>
<el-table-column prop="official_account" label="关注">
</el-table-column>
</el-table>
</template>
export default {
data() {
return {
tableData: [],
};
},
methods: {
navigatorEdit: function (row, column, e) {
console.log(row, column, e);
},
},
};
</script>
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论