fix local storage for defalut lang

This commit is contained in:
shaohaojiecoder
2020-02-16 13:47:30 +08:00
parent b4de2bdb9e
commit ea0a7df472
3 changed files with 13 additions and 13 deletions

View File

@@ -48,7 +48,7 @@
import NoticeIcon from '@/components/NoticeIcon'
import { mapActions, mapGetters } from 'vuex'
import LangSelect from '@/components/tools/LangSelect'
import { showLocale } from '@/locales'
import config from '@/config/defaultSettings'
export default {
name: 'UserMenu',
@@ -57,7 +57,7 @@ export default {
},
data () {
return {
showLocale: showLocale
showLocale: config.showLocale
}
},
methods: {