默认语言问题
This commit is contained in:
@@ -130,9 +130,9 @@
|
||||
},
|
||||
//语言切换事件
|
||||
confirmlang(e) {
|
||||
// uni.setLocale(e.value[0].id)
|
||||
uni.setLocale(e.value[0].id)
|
||||
this.$i18n.locale = e.value[0].id
|
||||
uni.setStorageSync('i18locale', e.value[0].id);
|
||||
// uni.setStorageSync('i18locale', e.value[0].id);
|
||||
this.showlang = false
|
||||
this.columns =[
|
||||
[{
|
||||
|
||||
@@ -106,8 +106,9 @@
|
||||
},
|
||||
//语言切换事件
|
||||
confirmlang(e) {
|
||||
uni.setLocale(e.value[0].id)
|
||||
this.$i18n.locale = e.value[0].id
|
||||
uni.setStorageSync('i18locale', e.value[0].id);
|
||||
// uni.setStorageSync('i18locale', e.value[0].id);
|
||||
this.language = e.value[0].id
|
||||
this.showlang = false
|
||||
this.columns =[
|
||||
|
||||
Reference in New Issue
Block a user