默认语言修改为中文简体
This commit is contained in:
parent
6d7fa8f542
commit
c7a454541d
|
@ -12,7 +12,7 @@ import {
|
||||||
// import { printANSI } from '@/utils/screenLog'
|
// import { printANSI } from '@/utils/screenLog'
|
||||||
import defaultSettings from '@/config/defaultSettings'
|
import defaultSettings from '@/config/defaultSettings'
|
||||||
|
|
||||||
export default function Initializer () {
|
export default function Initializer() {
|
||||||
// printANSI() // 请自行移除该行. please remove this line
|
// printANSI() // 请自行移除该行. please remove this line
|
||||||
|
|
||||||
store.commit(TOGGLE_LAYOUT, storage.get(TOGGLE_LAYOUT, defaultSettings.layout))
|
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(TOGGLE_MULTI_TAB, storage.get(TOGGLE_MULTI_TAB, defaultSettings.multiTab))
|
||||||
store.commit('SET_TOKEN', storage.get(ACCESS_TOKEN))
|
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
|
// last step
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue