给el-table-column添加指定列的点击事件
在el-table-column中添加一个,重新把数据显示到div中,不然页面会没有数据显示
<template slot-scope="scope">
<div @click="detailData(scope.row)">{{ scope.row.acount }}</div>
</template>
在el-table-column中添加一个,重新把数据显示到div中,不然页面会没有数据显示
<template slot-scope="scope">
<div @click="detailData(scope.row)">{{ scope.row.acount }}</div>
</template>