优化移动端样式

This commit is contained in:
liuziting
2026-01-21 22:11:17 +08:00
parent 3bf3919f60
commit 8c30a7d3ae
3 changed files with 38 additions and 9 deletions

View File

@@ -4,8 +4,8 @@ import zh from './locales/zh.json'
const i18n = createI18n({
legacy: false, // 使用 Composition API
locale: localStorage.getItem('language') || 'en', // 默认英文
fallbackLocale: 'en',
locale: localStorage.getItem('language') || 'zh', // 默认英文
fallbackLocale: 'zh',
messages: {
en,
zh