element-plus el-select选中边框移出

vue yekong 505℃

可视化大屏 项目开发中,会需要自定义el-select样式,当我们选中el-select后,会出现一个蓝色边框,这个边框并不是我们想要的,需要进行移除。通过检查样式会发现一个样式--el-select-input-focus-border-color,将这个样式设置none就可以了。

element-plus el-select选中边框移出

.el-select{
  --el-select-input-focus-border-color: none !important;
}
喜欢 (0)