越南语
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
data() {
|
||||
return {
|
||||
addrip: this.$store.getters.baseUrl,
|
||||
options1: [{text: '中文',value: 'zh-Hans'}, {text: 'English', value: 'en'}],
|
||||
options1: [{text: '中文',value: 'zh-Hans'}, {text: 'English', value: 'en'}, {text: 'Tiếng Việt', value: 'vi'}],
|
||||
index1: '',
|
||||
systemLocale: '',
|
||||
applicationLocale: ''
|
||||
@@ -40,7 +40,6 @@
|
||||
let systemInfo = uni.getSystemInfoSync();
|
||||
this.systemLocale = systemInfo.language;
|
||||
this.applicationLocale = uni.getLocale();
|
||||
console.log(this.applicationLocale)
|
||||
this.index1 = this.applicationLocale.split('-')[0]
|
||||
this.isAndroid = systemInfo.platform.toLowerCase() === 'android';
|
||||
uni.onLocaleChange((e) => {
|
||||
|
||||
Reference in New Issue
Block a user