perf: add localization for sider (#911)

This commit is contained in:
吴杉(Shan Wu)
2023-03-27 10:49:42 +03:00
committed by GitHub
parent c3f431118b
commit 799af86739
4 changed files with 8 additions and 2 deletions

View File

@@ -73,7 +73,7 @@ watch(
<main class="flex flex-col flex-1 min-h-0">
<div class="p-4">
<NButton dashed block @click="handleAdd">
New chat
{{ $t('chat.newChatButton') }}
</NButton>
</div>
<div class="flex-1 min-h-0 pb-4 overflow-hidden">
@@ -81,7 +81,7 @@ watch(
</div>
<div class="p-4">
<NButton block @click="show = true">
Prompt Store
{{ $t('store.siderButton') }}
</NButton>
</div>
</main>