解决方法,在样式中加入这个类,最好在APP.vue或者公共样式中:
<style>
/* 解决element-ui的table表格控件表头与内容列不对齐问题 */
.el-table th.gutter{
display: table-cell!important;
}
</style>
解决方法,在样式中加入这个类,最好在APP.vue或者公共样式中:
<style>
/* 解决element-ui的table表格控件表头与内容列不对齐问题 */
.el-table th.gutter{
display: table-cell!important;
}
</style>