表头添加气泡文字提示
html如下:
<el-table-column prop="date_time" label="日期" align="center">
<template slot="header" slot-scope="scope">
日期
<el-tooltip class="item" effect="dark" placement="top" content="开始时间和结束时间不能小于2019-06-13" >
<i class="el-icon-info"></i>
</el-tooltip>
</template>
</el-table-column>
添加后的效果图
![添加后](https://img-blog.csdnimg.cn/20ec331b0d984e4e83f479cab60240bd.png)