优化 cl-text 组件的字体大小和颜色,在 pt 配置中无需添加 ! 符号
This commit is contained in:
@@ -23,8 +23,8 @@
|
||||
v-if="item.text != null"
|
||||
:pt="{
|
||||
className: parseClass([
|
||||
'!text-xs mt-1',
|
||||
[path == item.pagePath, '!text-primary-500', '!text-surface-400']
|
||||
'text-xs mt-1',
|
||||
[path == item.pagePath, 'text-primary-500', 'text-surface-400']
|
||||
])
|
||||
}"
|
||||
>{{ t(item.text!) }}</cl-text
|
||||
|
||||
Reference in New Issue
Block a user