This commit is contained in:
2025-09-08 16:36:40 +08:00
parent 6cb5aa1fd7
commit 0e313cd6ff

16
frontend/src/App.vue Normal file
View File

@@ -0,0 +1,16 @@
<script setup lang="ts">
import { computed } from 'vue'
import { ElConfigProvider } from 'element-plus-secondary'
import { getElementLocale } from '@/i18n'
const elLanguage = computed(() => {
return getElementLocale()
})
</script>
<template>
<el-config-provider :locale="elLanguage">
<router-view />
</el-config-provider>
</template>
<style scoped></style>