用render-header <el-table-column :render-header="renderHeader"></el-table-column> methods中添加 renderHeader (h) { return [h('p', {}, ['标题']),h('p', {}, ['单位'])] }
用render-header
methods中添加