From 111d3d56e25a5477a3ce21e406e1d6b444bb54b1 Mon Sep 17 00:00:00 2001 From: feng626 <1304903146@qq.com> Date: Thu, 16 Jun 2022 18:17:19 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BC=98=E5=8C=96confirm=20=E9=87=8D?= =?UTF-8?q?=E6=96=B0=E7=99=BB=E5=BD=95=E7=BF=BB=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/UserConfirmDialog/index.vue | 2 +- src/i18n/langs/en.json | 3 ++- src/i18n/langs/ja.json | 3 ++- src/i18n/langs/zh.json | 3 ++- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/components/UserConfirmDialog/index.vue b/src/components/UserConfirmDialog/index.vue index 31a59f2be..2473cf45d 100644 --- a/src/components/UserConfirmDialog/index.vue +++ b/src/components/UserConfirmDialog/index.vue @@ -68,7 +68,7 @@ export default { this.ConfirmType = backends[0].name if (this.ConfirmType === 'relogin') { this.visible = false - return this.$message.error(this.$t('auth.ReLogin')) + return this.$message.error(this.$t('auth.ReLoginErr')) } if (this.ConfirmType === 'mfa') { diff --git a/src/i18n/langs/en.json b/src/i18n/langs/en.json index f93196b63..10716a097 100644 --- a/src/i18n/langs/en.json +++ b/src/i18n/langs/en.json @@ -246,7 +246,8 @@ }, "auth": { "LoginRequiredMsg": "You account has logout, Please login again", - "ReLogin": "Re-Login" + "ReLogin": "Re-Login", + "ReLoginErr": "Login time has exceeded 5 minutes, please login again" }, "common": { "ChangeViewHelpText": "Click to change view", diff --git a/src/i18n/langs/ja.json b/src/i18n/langs/ja.json index 352947760..299b1884e 100644 --- a/src/i18n/langs/ja.json +++ b/src/i18n/langs/ja.json @@ -251,7 +251,8 @@ }, "auth": { "LoginRequiredMsg": "アカウントが終了しました。ログインし直してください", - "ReLogin": "再ログイン" + "ReLogin": "再ログイン", + "ReLoginErr": "ログイン時間が 5 分を超えました。もう一度ログインしてください" }, "common": { "ChangeViewHelpText": "クリックしてさまざまなビューにアクセス", diff --git a/src/i18n/langs/zh.json b/src/i18n/langs/zh.json index d487e4ce4..4d1382b0b 100644 --- a/src/i18n/langs/zh.json +++ b/src/i18n/langs/zh.json @@ -251,7 +251,8 @@ }, "auth": { "LoginRequiredMsg": "账号已退出,请重新登录", - "ReLogin": "重新登录" + "ReLogin": "重新登录", + "ReLoginErr": "登录时长已超过 5 分钟,请重新登录" }, "common": { "ChangeViewHelpText": "点击切换不同视图",