From e307ec27449ec12a71a25d773855d19fbf26767e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Chuailei000=E2=80=9D?= <2280131253@qq.com> Date: Sun, 29 Jan 2023 16:12:46 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E8=B5=84=E4=BA=A7=E6=8E=88=E6=9D=83-Ac?= =?UTF-8?q?countFormatter=E7=BB=84=E4=BB=B6=E5=A2=9E=E5=8A=A0helpText?= =?UTF-8?q?=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/i18n/langs/en.json | 1 + src/i18n/langs/ja.json | 1 + src/i18n/langs/zh.json | 1 + .../AssetPermission/components/AccountFormatter.vue | 11 +++++++++++ 4 files changed, 14 insertions(+) diff --git a/src/i18n/langs/en.json b/src/i18n/langs/en.json index 364ed1ec0..92a1ecda7 100644 --- a/src/i18n/langs/en.json +++ b/src/i18n/langs/en.json @@ -322,6 +322,7 @@ "ReLoginErr": "Login time has exceeded 5 minutes, please login again" }, "common": { + "EnterCurrentInput": "Press Enter to end the current input", "Activity": "Activity", "Last30": "Last 30 times", "SpecificInfo": "Specific", diff --git a/src/i18n/langs/ja.json b/src/i18n/langs/ja.json index b237622e7..438ae2c3f 100644 --- a/src/i18n/langs/ja.json +++ b/src/i18n/langs/ja.json @@ -325,6 +325,7 @@ "ReLoginErr": "ログイン時間が 5 分を超えました。もう一度ログインしてください" }, "common": { + "EnterCurrentInput": "現在の入力をループバックで終了", "Activity": "イベント", "Last30": "最近 30 回です", "SpecificInfo": "特別情報", diff --git a/src/i18n/langs/zh.json b/src/i18n/langs/zh.json index 68a7d10e0..8b09db692 100644 --- a/src/i18n/langs/zh.json +++ b/src/i18n/langs/zh.json @@ -424,6 +424,7 @@ "ReLoginErr": "登录时长已超过 5 分钟,请重新登录" }, "common": { + "EnterCurrentInput": "按回车结束当前输入", "SpecificInfo": "特殊信息", "CollectionSucceed": "收藏成功", "CancelCollection": "取消收藏", diff --git a/src/views/perms/AssetPermission/components/AccountFormatter.vue b/src/views/perms/AssetPermission/components/AccountFormatter.vue index dc5f4a817..82f90e67c 100644 --- a/src/views/perms/AssetPermission/components/AccountFormatter.vue +++ b/src/views/perms/AssetPermission/components/AccountFormatter.vue @@ -16,6 +16,7 @@ :value="customTags" @change="handleTagChange" /> + {{ helpText }} @@ -30,6 +31,12 @@ export default { value: { type: [Array], default: () => [] + }, + helpText: { + type: String, + default: function() { + return this.$t('common.EnterCurrentInput') + } } }, data() { @@ -114,4 +121,8 @@ export default { .select >>> .el-input.el-input--suffix { width: 100px } +.help-text { + font-size: 12px; + color: #999999; +}