解决el-tabs 切换tab时el-table高度缩短问题 添加全局样式 .el-table { width: 100%; display: flex; flex-direction: column; } .el-table__body-wrapper { flex: 1; }