解决方法: <style> ::v-deep .el-table th.el-table__cell > .cell { white-space: nowrap !important; } </style>