新增首次运行时自动根据当前系统使用的语言设置软件显示的语言

This commit is contained in:
lyswhut
2020-06-24 16:12:02 +08:00
parent 637727faa0
commit cc5d119ba4
71 changed files with 91 additions and 14 deletions
+2 -2
View File
@@ -14,8 +14,8 @@ import messages from '@/lang'
Vue.use(VueI18n)
const i18n = window.i18n = new VueI18n({
locale: 'cns',
fallbackLocale: 'cns',
locale: 'zh-cn',
fallbackLocale: 'zh-cn',
messages,
})