不加任何前缀的在对应的目录下面添加如下代码
.el-table__header{ width: 100% !important; } .el-table__body{ width: 100% !important; }