This commit is contained in:
liangjian
2026-01-27 16:32:15 +08:00
commit 836c61ac55
303 changed files with 34442 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
<template>
<el-config-provider :button="{ autoInsertSpace: true }" :locale="locale">
<router-view />
<vab-update v-if="pwa" />
</el-config-provider>
</template>
<script setup>
import { pwa } from '/@/config'
import { enLocale, zhLocale } from '/@/i18n'
defineOptions({
name: 'VabApp',
})
const { locale: language } = useI18n()
const locale = computed(() => (language.value === 'en' ? enLocale : zhLocale))
</script>