解决方法只需在全局样式中添加以下代码: .el-table { width: 100%; display: flex; flex-direction: column; .el-table__body-wrapper { flex: 1; } }