//解决方案
<el-table v-loading="loading" ref="table" height="100%" :data="tableData" style="width: 100%" border></el-table>
let that = this;
this.$nextTick(() => {
that.$refs.table.doLayout(); // 解决表格错位
});
标签:nextTick,vue,错位,表格,admin,refs,element
来源: https://www.cnblogs.com/gggggggxin/p/14101067.html