antd改变Select样式时,选中有删不了的小框
抓元素都注意到了
.ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector{
border:0 !important;
border-radius: 0;
}
是↑的锅,但是border什么的设置了没有用
其实是box-shadow的问题,设为none就好了
...
原创
2021-09-27 17:11:39 ·
423 阅读 ·
0 评论