<el-table-column prop="status" :render-header="renderHeader" >
<template slot-scope="scope">{{scope.row.status}}</template>
</el-table-column>
renderHeader(h, { column}) {
return [
column.property,
h(
'el-tooltip',
{
props: {
content: (function() {
return `${column.property}`
})(),
placement: 'top'
}
},
[
h('span', {
class: {
'el-icon-question': true
}
})
]
)
]
}