diff --git a/common/locales/en.js b/common/locales/en.js index 2e54359..28ec83f 100644 --- a/common/locales/en.js +++ b/common/locales/en.js @@ -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!' } \ No newline at end of file diff --git a/common/locales/zh.js b/common/locales/zh.js index 6980966..a9d1444 100644 --- a/common/locales/zh.js +++ b/common/locales/zh.js @@ -182,6 +182,7 @@ export default { expand:'展开查看更多', remarks:'备注', channel:'渠道', - Nodata:'暂无数据!' + Nodata:'暂无数据!', + versionmsg:'已是最新版本!' } \ No newline at end of file diff --git a/manifest.json b/manifest.json index ecf2519..9c3ac43 100644 --- a/manifest.json +++ b/manifest.json @@ -5,7 +5,7 @@ "versionName" : "1.0.0", "versionCode" : "100", "transformPx" : false, - "locale" : "zh-Hans", // 设置默认语言, + "locale" : "en", // 设置默认语言, "app-plus" : { "usingComponents" : true, "nvueCompiler" : "uni-app", diff --git a/pages/mine/about.vue b/pages/mine/about.vue index 8b96147..d7f4def 100644 --- a/pages/mine/about.vue +++ b/pages/mine/about.vue @@ -10,7 +10,7 @@ @@ -38,7 +38,7 @@ }, handleVersionUpdate() { uni.showToast({ - title: '检查版本更新', + title: this.$t('versionmsg'), icon: 'none' }); },