问题图: 使用doLayout()方法 注意,该方法不是随便放个位置就可以实现我们想要的效果 我测试成功的:放在表格数据组装完成后 还有一种原因是因为el-table__body-wrapper高度设置的不对 应该是el-table__body-wrapper=100% - el-table__header-wrapper .el-table__body-wrapper { height: calc(100% - 33px) !important; }