1.只需重写 el-select 原生样式文章来源地址https://uudwc.com/A/kA0GY
.el-select__tags {
flex-wrap: inherit !important;
overflow-x: auto !important;
}
- 特别注意:重写原生样式时,去掉当前 style 的 scoped
或者可以通过该穿透去实现
::v-deep .el-select__tags {
flex-wrap: inherit !important;
overflow-x: auto !important;
}
文章来源:https://uudwc.com/A/kA0GY