简单!在公共css里加:
.el-tooltip__popper{
max-width: 200px;
}
扩展:
// 解决下拉菜单选项太长,自动撑开不出现滚动条问题
.el-select-dropdown{
max-width: 243px;
}
.el-select-dropdown__item{
display: inline-block;
}
.el-select-dropdown__item span {
min-width: 205px;
display: inline-block;
}