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; +}