el-table表格添加提示

element提供了slot=“header”的方法

 

<el-table-column align="center">
        <template slot="header" slot-scope="scope">
      <span title="提示提示提示">{{aa.abcInfo}}==</span>
    </template> <el-table-column prop="teacherExerciseRate" label="列具体数据" align="center"></el-table-column> </el-table-column>

 

参考效果

 

posted @ 2022-05-09 14:47  君子笑而不语  阅读(494)  评论(0编辑  收藏  举报