fix: use zh-hans as the default lang
This commit is contained in:
parent
c64a77286e
commit
fa9468a7d3
@ -18,6 +18,9 @@ module.exports = {
|
||||
*/
|
||||
head: {
|
||||
title: 'VEUI',
|
||||
htmlAttrs: {
|
||||
lang: 'zh-Hans'
|
||||
},
|
||||
meta: [
|
||||
{ charset: 'utf-8' },
|
||||
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
|
||||
|
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user