想在element 中的table 表格中 每一行数据里面都添加一个标题
<template slot-scope="scope"
<div style=' left: -60px;
width: 100%;
height: 44px;
padding: 10px 20px;
line-height: 30px;
background-color: #fafafa;
position: absolute;
z-index: 2;
top: 0;
display: flex;
justify-content: space-around;'></div>
</template >
自定义 单元格内容
感觉要想完美实现,只能是在源码的基础上去修改。