element踩坑记录1——el-table表格表头与内容对不齐

问题如下图:

表头与内容对不齐

解决方法:

在全局样式中写入以下样式

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

猜你喜欢

转载自blog.csdn.net/weixin_38131507/article/details/115127315
今日推荐