提交 325673d2 authored 作者: fit2cloud-chenyw's avatar fit2cloud-chenyw

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

上级 057f369c
...@@ -18,7 +18,8 @@ ...@@ -18,7 +18,8 @@
"tw": "繁體中文", "tw": "繁體中文",
"zh": "简体中文", "zh": "简体中文",
"sysLanguage": "Follow System", "sysLanguage": "Follow System",
"tips": "Tips" "tips": "Tips",
"loading": "loading"
}, },
"login": { "login": {
......
...@@ -19,7 +19,8 @@ ...@@ -19,7 +19,8 @@
"tw": "繁體中文", "tw": "繁體中文",
"zh": "简体中文", "zh": "简体中文",
"sysLanguage": "跟随系统", "sysLanguage": "跟随系统",
"tips": "提示" "tips": "提示",
"loading": "加载中"
}, },
"login": { "login": {
"title": "用户登录", "title": "用户登录",
......
...@@ -19,7 +19,8 @@ ...@@ -19,7 +19,8 @@
"tw": "繁體中文", "tw": "繁體中文",
"zh": "简体中文", "zh": "简体中文",
"sysLanguage": "跟隨系統", "sysLanguage": "跟隨系統",
"tips": "提示" "tips": "提示",
"loading": "加載中"
}, },
"login": { "login": {
......
...@@ -91,7 +91,7 @@ ...@@ -91,7 +91,7 @@
try { try {
this.banner = JSON.parse(decodeURIComponent(payload)); this.banner = JSON.parse(decodeURIComponent(payload));
uni.showLoading({ uni.showLoading({
title: 'loading' title: this.$t('commons.loading')
}); });
this.loadLinkUrl() this.loadLinkUrl()
} catch (error) { } catch (error) {
...@@ -189,7 +189,7 @@ ...@@ -189,7 +189,7 @@
if(!this.hasStar) { if(!this.hasStar) {
uni.showToast({ uni.showToast({
icon: 'success', icon: 'success',
title: '收藏成功' title: this.$t('detail.starSuccess')
}) })
} }
this.loadStarStatus() this.loadStarStatus()
...@@ -201,7 +201,7 @@ ...@@ -201,7 +201,7 @@
}, },
refresh() { refresh() {
uni.showLoading({ uni.showLoading({
title: 'loading' title: this.$t('commons.loading')
}); });
this.url = null this.url = null
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论