默认语言修改为中文

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: '', color: '',
weak: false, weak: false,
multiTab: true, multiTab: true,
lang: 'en-US', lang: 'zh-CN',
_antLocale: {} _antLocale: {}
}, },
mutations: { mutations: {
@ -83,7 +83,7 @@ const app = {
} }
}, },
actions: { actions: {
setLang ({ commit }, lang) { setLang({ commit }, lang) {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
commit(APP_LANGUAGE, lang) commit(APP_LANGUAGE, lang)
loadLanguageAsync(lang).then(() => { loadLanguageAsync(lang).then(() => {