默认语言修改为中文

This commit is contained in:
qinjie 2021-09-10 16:46:56 +08:00
parent e06df98ce9
commit 6d7fa8f542
1 changed files with 2 additions and 2 deletions

View File

@ -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(() => {