优化 cl-text 组件的字体大小和颜色,在 pt 配置中无需添加 ! 符号
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
className: parseClass([
|
||||
[
|
||||
item.isActive && color == '' && unColor == '',
|
||||
showSlider ? '!text-white' : '!text-primary-500'
|
||||
showSlider ? 'text-white' : 'text-primary-500'
|
||||
],
|
||||
pt.text?.className
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user