设置默认语言为英语

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',
remarks:'Remarks',
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:'展开查看更多',
remarks:'备注',
channel:'渠道',
Nodata:'暂无数据!'
Nodata:'暂无数据!',
versionmsg:'已是最新版本!'
}
+1 -1
View File
@@ -5,7 +5,7 @@
"versionName" : "1.0.0",
"versionCode" : "100",
"transformPx" : false,
"locale" : "zh-Hans", // 设置默认语言,
"locale" : "en", // 设置默认语言,
"app-plus" : {
"usingComponents" : true,
"nvueCompiler" : "uni-app",
+2 -2
View File
@@ -10,7 +10,7 @@
<u-cell
size="large"
:title="$t('mine.Versionup')"
value="v0.0101"
value="v1.1.0"
isLink
@click="handleVersionUpdate"
></u-cell>
@@ -38,7 +38,7 @@
},
handleVersionUpdate() {
uni.showToast({
title: '检查版本更新',
title: this.$t('versionmsg'),
icon: 'none'
});
},