2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 19:37:18 +08:00

feat: 提交部分前端翻译

This commit is contained in:
2025-04-13 01:14:11 +08:00
parent db0679cd92
commit df32b3b5de
25 changed files with 5589 additions and 1294 deletions

View File

@@ -1,8 +1,4 @@
<script lang="ts" setup>
import { useI18n } from 'vue-i18n'
const { t } = useI18n()
interface Props {
showFooter?: boolean
showHeader?: boolean
@@ -26,7 +22,7 @@ const route = useRoute()
<div flex items-center>
<slot v-if="$slots['title-prefix']" name="title-prefix" />
<div mr-12 h-16 w-4 rounded-l-2 bg-primary></div>
<h2 font-normal>{{ t(title || String(route.meta.title)) }}</h2>
<h2 font-normal>{{ title ? title : route.meta.title ? route.meta.title : '' }}</h2>
<slot name="title-suffix" />
</div>
<slot name="action" />