优化移动端样式
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user