fix:修复bug

This commit is contained in:
2026-02-02 14:08:17 +08:00
parent 6a1dff4b94
commit 9f66ee9658
33 changed files with 9381 additions and 153 deletions
+2 -2
View File
@@ -11,7 +11,7 @@ export function useI18n() {
if (!instance || !instance.proxy) {
return {
t: (key) => key,
locale: 'zh-CN',
locale: 'en_US',
i18n: null
}
}
@@ -26,7 +26,7 @@ export function useI18n() {
}
return key
},
locale: proxy.$i18n?.locale || 'zh-CN',
locale: proxy.$i18n?.locale || 'en_US',
i18n: proxy.$i18n
}
}