Closed szqingt closed 1 year ago
当 szie 和 sharp="square" 同时使用的时候border-radius 被覆盖了,导致 square 失效!
szie
sharp="square"
border-radius
我看代码没有实质的更改哈
代码是没有变动位置更换了,因为用的选择器权重一样,但是size的样式在square之后,且size中也有设置border-radius就导致square的border-radius: 0;没有生效了!
size
square
border-radius: 0;
或许使用important更好
important
当
szie
和sharp="square"
同时使用的时候border-radius
被覆盖了,导致 square 失效!