00
This commit is contained in:
@@ -156,7 +156,6 @@ export default {
|
||||
}
|
||||
},
|
||||
created() {
|
||||
console.log(this.width)
|
||||
getNavigation({}).then(res=>{
|
||||
this.menuData = res.data
|
||||
})
|
||||
@@ -169,10 +168,13 @@ export default {
|
||||
let lang = ''
|
||||
if (this.$i18n.locale === 'en') {
|
||||
lang = 'cn'
|
||||
|
||||
this.english = false;
|
||||
this.$store.state.isEnglish= this.english
|
||||
} else {
|
||||
lang = 'en'
|
||||
this.english = true;
|
||||
this.$store.state.isEnglish= this.english
|
||||
}
|
||||
this.$i18n.locale = lang;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user