.el-select__tags {.el-select__input {width: 50px !important;}}
添加这段代码即可
<el-selectv-model="value"multiplecollapse-tagsfilterablestyle="margin-left: 20px;"placeholder="请选择"><el-optionv-for="item in options":key="item.value":label="item.label":value="item.value"></el-option></el-select>
提示:该问题出现是版本问题引起的,2.7版本已经修复了这个问题,如果您还在使用之前的代码,就需要使用上面说明的方式单独处理。
查看文档:element