element-ui的table表格表头与内容列不对齐问题

element-ui的table表格表头与内容列不对齐问题
图片描述

解决办法:
增加全局样式

.el-table th.gutter{
    display: table-cell!important;
}

评论

暂无评论