This commit is contained in:
clay
2022-01-15 20:55:38 +08:00
parent 5356c8b948
commit 8e9cf7b833
15 changed files with 782 additions and 563 deletions

View File

@@ -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;
}