<el-table-column
label="来源"
prop="origin" width="200"
:render-header="renderHeader">
</el-table-column>
renderHeader(h,{column}){
return h(
"div",{
style:"display:flex;margin:auto"
},
[
h("div",column.label),
h("el-tooltip",{
props:{
effect:"light",
content:"来源为“升版”的方案,添加至方案库后,\n" +
"\n" +
"则不在方案列表中显示",
placement:'top'
}
},[
h('div',{
style: "height:14px;
width:14px;
border-radius:50%;
border:solid 1px #000000;
margin:4px 5px;" +
"display:flex;
justify-content: center;
align-items: center;
font-size:12px;"
},[
h("span","?")
])
]),
]
)
},