feat: core components support simple locale switching (#4273)

* feat: core components support simple locale switching

* fix: test error

* fix: test error
This commit is contained in:
Vben
2024-08-29 22:31:49 +08:00
committed by GitHub
parent 98da0672e7
commit a77cc00e9f
18 changed files with 78 additions and 32 deletions

View File

@@ -53,10 +53,7 @@ withDefaults(defineProps<Props>(), {
:width="logoSize"
class="relative rounded-none bg-transparent"
/>
<span
v-if="!collapsed"
class="text-primary dark:text-foreground truncate text-nowrap"
>
<span v-if="!collapsed" class="text-foreground truncate text-nowrap">
{{ text }}
</span>
</a>