优化 cl-text 组件的字体大小和颜色,在 pt 配置中无需添加 ! 符号

This commit is contained in:
icssoa
2025-09-07 11:08:01 +08:00
parent 8e583121e4
commit 1b6fc90d59
57 changed files with 406 additions and 239 deletions

View File

@@ -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