el-table表头与内容错位,列发生偏移

开发过程发先el-table表头和内容发生偏移
在这里插入图片描述
解决:以下代码放于全局样式

.drawer_cycle .el-table__header {
    
    
  table-layout: fixed !important;
}

猜你喜欢

转载自blog.csdn.net/L221545/article/details/132358931
今日推荐