// 表头加问号
customFieldColumn (h, { column, $index }) {
return h('span', {}, [
h('span', {}, ''),
h('el-popover', { props: { placement: 'top', width: '200',trigger: 'hover', content: 'XXXXXXXXXXXXXXXXXXXX' }}, [
h('span', { slot: 'reference',class:'font-normal'},[
h('span', {}, '操作'),
h('i', {class:'el-icon-question'}, '?/*')
])
])
])
},
<el-table-column
fixed="right"
label="操作"
header-align="center"
align="center"
:render-header="customFieldColumn"
width="250">
<template slot-scope="scope">
<el-button @click="manageBtn(scope.row)" icon="el-icon-setting" type="text" size="small">设备({{scope.row.deviceCount}})</el-button>
</template>
</el-table-column>