默认语言修改为中文
This commit is contained in:
parent
e06df98ce9
commit
6d7fa8f542
|
@ -29,7 +29,7 @@ const app = {
|
|||
color: '',
|
||||
weak: false,
|
||||
multiTab: true,
|
||||
lang: 'en-US',
|
||||
lang: 'zh-CN',
|
||||
_antLocale: {}
|
||||
},
|
||||
mutations: {
|
||||
|
@ -83,7 +83,7 @@ const app = {
|
|||
}
|
||||
},
|
||||
actions: {
|
||||
setLang ({ commit }, lang) {
|
||||
setLang({ commit }, lang) {
|
||||
return new Promise((resolve, reject) => {
|
||||
commit(APP_LANGUAGE, lang)
|
||||
loadLanguageAsync(lang).then(() => {
|
||||
|
|
Loading…
Reference in New Issue