From 6d7fa8f542d5174af4ab859fa7afaa5784d6a44d Mon Sep 17 00:00:00 2001 From: qinjie Date: Fri, 10 Sep 2021 16:46:56 +0800 Subject: [PATCH] =?UTF-8?q?=E9=BB=98=E8=AE=A4=E8=AF=AD=E8=A8=80=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E4=B8=BA=E4=B8=AD=E6=96=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/modules/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/store/modules/app.js b/src/store/modules/app.js index 6a0c6ef..f78bb20 100644 --- a/src/store/modules/app.js +++ b/src/store/modules/app.js @@ -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(() => {