优化多语言切换的bug
This commit is contained in:
parent
2020501d70
commit
8f73287999
@ -207,7 +207,7 @@
|
||||
return {
|
||||
visible: true,
|
||||
langSetTitle: '选择语言',
|
||||
currentLang: translate.language.getCurrent(),
|
||||
currentLang: '',
|
||||
colorList
|
||||
}
|
||||
},
|
||||
@ -231,6 +231,7 @@
|
||||
}
|
||||
},
|
||||
created () {
|
||||
this.currentLang = translate.language.getCurrent()
|
||||
},
|
||||
methods: {
|
||||
showDrawer() {
|
||||
@ -280,6 +281,7 @@
|
||||
},
|
||||
handleChangeLang(value) {
|
||||
translate.changeLanguage(value)
|
||||
this.currentLang = translate.language.getCurrent()
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user