国际化、主题处理

This commit is contained in:
Gary Fu
2023-12-17 16:21:52 +08:00
parent d49cd6c1eb
commit 5adcc63839
8 changed files with 33 additions and 19 deletions

View File

@@ -1,6 +1,6 @@
<script setup>
import { useGlobalConfigStore } from '@/stores/globalConfigStore'
import { $changeLocale, elementLocale } from '@/languages/MessagesConfig'
import { $changeLocale, elementLocale } from '@/messages'
const globalConfigStore = useGlobalConfigStore()
$changeLocale(globalConfigStore.currentLocale)