Element UI的table表格可加入
<template slot-scope="scope">
<span>{{scope.row}}</span>
</template>
来逐条插入数据
示例
//设置max-height可使超过高度的其他数据通过滚动条显示
结果
slot-scope="scope" //取到当前单元格
scope.$index //拿到当前行的index
scope.row //拿到当前行的数据对象
scope.row.date //是对象里面的data属性的值