解决element table表格内容错位的问题


亲测有效
body .el-table th.gutter{ display: table-cell!important; }
上面不行用下面终极方案:
在数据加载完成后,重新执行布局操作
<el-table :data="tableData" ref="multipleTable" > </el-table>
this.$nextTick(() => { this.$refs.multipleTable.doLayout(); })


亲测有效
body .el-table th.gutter{ display: table-cell!important; }
上面不行用下面终极方案:
在数据加载完成后,重新执行布局操作
<el-table :data="tableData" ref="multipleTable" > </el-table>
this.$nextTick(() => { this.$refs.multipleTable.doLayout(); })