设置默认语言为英语

This commit is contained in:
浅念
2025-03-28 11:10:56 +08:00
parent 303121ba81
commit f9e9899e0e
4 changed files with 7 additions and 5 deletions
+2 -1
View File
@@ -183,5 +183,6 @@ export default {
expand:'Expand to view more', expand:'Expand to view more',
remarks:'Remarks', remarks:'Remarks',
channel:'Channel', channel:'Channel',
Nodata:'No data available at the moment!' Nodata:'No data available at the moment!',
versionmsg:'It is already the latest version!'
} }
+2 -1
View File
@@ -182,6 +182,7 @@ export default {
expand:'展开查看更多', expand:'展开查看更多',
remarks:'备注', remarks:'备注',
channel:'渠道', channel:'渠道',
Nodata:'暂无数据!' Nodata:'暂无数据!',
versionmsg:'已是最新版本!'
} }
+1 -1
View File
@@ -5,7 +5,7 @@
"versionName" : "1.0.0", "versionName" : "1.0.0",
"versionCode" : "100", "versionCode" : "100",
"transformPx" : false, "transformPx" : false,
"locale" : "zh-Hans", // 设置默认语言, "locale" : "en", // 设置默认语言,
"app-plus" : { "app-plus" : {
"usingComponents" : true, "usingComponents" : true,
"nvueCompiler" : "uni-app", "nvueCompiler" : "uni-app",
+2 -2
View File
@@ -10,7 +10,7 @@
<u-cell <u-cell
size="large" size="large"
:title="$t('mine.Versionup')" :title="$t('mine.Versionup')"
value="v0.0101" value="v1.1.0"
isLink isLink
@click="handleVersionUpdate" @click="handleVersionUpdate"
></u-cell> ></u-cell>
@@ -38,7 +38,7 @@
}, },
handleVersionUpdate() { handleVersionUpdate() {
uni.showToast({ uni.showToast({
title: '检查版本更新', title: this.$t('versionmsg'),
icon: 'none' icon: 'none'
}); });
}, },