fix: 移动端加载提示国际化

This commit is contained in:
fit2cloud-chenyw 2022-01-26 11:18:00 +08:00
parent feec041a64
commit a84fbecf9f
4 changed files with 9 additions and 6 deletions

View File

@ -18,7 +18,8 @@
"tw": "繁體中文",
"zh": "简体中文",
"sysLanguage": "Follow System",
"tips": "Tips"
"tips": "Tips",
"loading": "loading"
},
"login": {

View File

@ -19,7 +19,8 @@
"tw": "繁體中文",
"zh": "简体中文",
"sysLanguage": "跟随系统",
"tips": "提示"
"tips": "提示",
"loading": "加载中"
},
"login": {
"title": "用户登录",

View File

@ -19,7 +19,8 @@
"tw": "繁體中文",
"zh": "简体中文",
"sysLanguage": "跟隨系統",
"tips": "提示"
"tips": "提示",
"loading": "加載中"
},
"login": {

View File

@ -91,7 +91,7 @@
try {
this.banner = JSON.parse(decodeURIComponent(payload));
uni.showLoading({
title: 'loading'
title: this.$t('commons.loading')
});
this.loadLinkUrl()
} catch (error) {
@ -189,7 +189,7 @@
if(!this.hasStar) {
uni.showToast({
icon: 'success',
title: '收藏成功'
title: this.$t('detail.starSuccess')
})
}
this.loadStarStatus()
@ -201,7 +201,7 @@
},
refresh() {
uni.showLoading({
title: 'loading'
title: this.$t('commons.loading')
});
this.url = null