fix: use zh-hans as the default lang

This commit is contained in:
Justineo
2022-05-05 15:52:28 +08:00
parent c64a77286e
commit fa9468a7d3
2 changed files with 4 additions and 1 deletions

View File

@@ -7,5 +7,5 @@ Vue.use(VueI18n)
export default ({ app, route }) => {
app.i18n = new VueI18n()
i18nMgr.locale = getLocale(route.path)
i18nMgr.locale = app.i18n.locale = getLocale(route.path)
}