方法一:可以解决element table的列错位问题 /deep/.el-table--border th.gutter:last-of-type { display: table-cell !important; }
方法二:拿到数据请求结果后,使用element table doLayout方法进行强制重新渲染(屡试不爽) setTimeout(() => { this.$nextTick(() => { this.$refs.table.doLayout() }) }, 300)