♻️ Refactor code

This commit is contained in:
2025-06-02 13:34:54 +08:00
parent 44f7baad10
commit a516b8973e
53 changed files with 1513 additions and 1094 deletions

View File

@@ -1,5 +1,15 @@
<script setup lang="ts">
import { onMounted } from 'vue';
import { useConfigStore } from '@/stores/configStore';
const configStore = useConfigStore();
// 应用启动时加载配置
onMounted(async () => {
await configStore.initializeLanguage();
await configStore.initConfig();
});
</script>
<template>