无效:
#userRights {
.el-input__icon{
line-height: 30px;
}
}
有效:
#userRights {
/deep/.el-input__icon{
line-height: 30px;
}
}
复制代码
修改组件内的引用的element UI组件样式,使用深度作用选择器 /deep/
最新推荐文章于 2024-01-22 09:50:21 发布
无效:
#userRights {
.el-input__icon{
line-height: 30px;
}
}
有效:
#userRights {
/deep/.el-input__icon{
line-height: 30px;
}
}
复制代码