给el-table-column添加指定列的点击事件

在el-table-column中添加一个,重新把数据显示到div中,不然页面会没有数据显示

<template slot-scope="scope">
  <div @click="detailData(scope.row)">{{ scope.row.acount }}</div>
</template>

 

posted @ 2021-01-20 10:00  ssjd  阅读(12573)  评论(0编辑  收藏  举报