问题现状:
解决方案:
给el-select新增类选择器 el-select-text
.el-select-text {
float:right;
width: 250px
}
.el-select-text /deep/ .el-select__input{
display: inline-block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
max-width: 20px !important;
}
.el-select-text /deep/ .el-select__tags-text {
display: inline-block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
max-width: 100px !important;
}
自主分析提示:
注:如果不能生效,具体问题还需要具体分析,在此仅记录自己解决问题的过程 级联选择器可参考
自学不易,给每一位自学者点赞~\(≧▽≦)/~