Commit 5372cc44 authored by tyyin lan's avatar tyyin lan

chore(多语言): 修改默认语言

parent 8c7b2c33
......@@ -3,12 +3,12 @@ import { createI18n } from 'vue-i18n'
import messages from './messages'
import { ss } from '@/utils/storage'
export const defaultLocale = 'zh-HK'
export const defaultLocale = 'zh-CN'
const i18n = createI18n<[I18n.Schema], I18n.LangType>({
legacy: false,
locale: ss.get('i18nextLng') || defaultLocale,
fallbackLocale: 'zh-CN',
fallbackLocale: 'zh-HK',
messages,
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment