越南语

This commit is contained in:
2025-09-17 17:02:25 +08:00
parent 2ebaeac1e9
commit 59c91e845e
4 changed files with 132 additions and 3 deletions

View File

@@ -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) => {