element ui table header中添加tooltipe

1.render-header




renderHeader (h,{column}) {
    return h(
        'div',[
             h('span', column.label),
             h('el-tooltip',{
          props:{
        effect:'dark',
        content:'这是一个提示',
        placement:'top'
      },   
     },[
                 h('i', {
                     class:'el-icon-question',
                     style:'color:#409eff;margin-left:5px;'
                 })
            ],{
                content: '这是一个提示'
            })
        ]
    );
}  

 

https://www.cnblogs.com/jmwlhj/p/11004378.html

2.scope solit


  

https://blog.csdn.net/pinbolei/article/details/89883175

 

你可能感兴趣的:(element ui table header中添加tooltipe)