elementUI中el-tables表格的表头边框与内容边框错位问题

  1. 原因:由于电脑显示的缩放引起的
  2. 解决:在 index.html 或 App.vue 文件(为了全局有效)的 style 标签中添加:
    body .el-table th.gutter{
        display: table-cell!important;
    }
    

      

  3. ok
posted @ 2020-09-01 11:13  _JZYU  阅读(1657)  评论(0编辑  收藏  举报