|
@@ -30,7 +30,6 @@ export default {
|
|
|
methods: {
|
|
methods: {
|
|
|
handleSetLanguage(lang) {
|
|
handleSetLanguage(lang) {
|
|
|
this.$i18n.locale = lang
|
|
this.$i18n.locale = lang
|
|
|
- // 调用setLanguage方法,设置语言,存储到cookie
|
|
|
|
|
this.$store.dispatch('app/setLanguage', lang)
|
|
this.$store.dispatch('app/setLanguage', lang)
|
|
|
this.$message({
|
|
this.$message({
|
|
|
message: this.$t('common.switchLanguageHints'),
|
|
message: this.$t('common.switchLanguageHints'),
|