解决办法修改首次添加的elementbody .el-table{ .el-table__body-wrapper{ height: calc(100% - 48px)!important; // 表格高度减去表头的高度 } }