From c7a454541df1bf826b8bebd3433e1012c33d4641 Mon Sep 17 00:00:00 2001 From: qinjie Date: Fri, 10 Sep 2021 16:52:50 +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=E7=AE=80=E4=BD=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/bootstrap.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/bootstrap.js b/src/core/bootstrap.js index 6588bde..d34dee9 100644 --- a/src/core/bootstrap.js +++ b/src/core/bootstrap.js @@ -12,7 +12,7 @@ import { // import { printANSI } from '@/utils/screenLog' import defaultSettings from '@/config/defaultSettings' -export default function Initializer () { +export default function Initializer() { // printANSI() // 请自行移除该行. please remove this line store.commit(TOGGLE_LAYOUT, storage.get(TOGGLE_LAYOUT, defaultSettings.layout)) @@ -26,6 +26,6 @@ export default function Initializer () { store.commit(TOGGLE_MULTI_TAB, storage.get(TOGGLE_MULTI_TAB, defaultSettings.multiTab)) store.commit('SET_TOKEN', storage.get(ACCESS_TOKEN)) - store.dispatch('setLang', storage.get(APP_LANGUAGE, 'en-US')) + store.dispatch('setLang', storage.get(APP_LANGUAGE, 'zh-CN')) // last step }