perf: 资产授权-AccountFormatter组件增加helpText参数

This commit is contained in:
“huailei000”
2023-01-29 16:12:46 +08:00
committed by huailei
parent 906ef63a50
commit e307ec2744
4 changed files with 14 additions and 0 deletions

View File

@@ -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",

View File

@@ -325,6 +325,7 @@
"ReLoginErr": "ログイン時間が 5 分を超えました。もう一度ログインしてください"
},
"common": {
"EnterCurrentInput": "現在の入力をループバックで終了",
"Activity": "イベント",
"Last30": "最近 30 回です",
"SpecificInfo": "特別情報",

View File

@@ -424,6 +424,7 @@
"ReLoginErr": "登录时长已超过 5 分钟,请重新登录"
},
"common": {
"EnterCurrentInput": "按回车结束当前输入",
"SpecificInfo": "特殊信息",
"CollectionSucceed": "收藏成功",
"CancelCollection": "取消收藏",

View File

@@ -16,6 +16,7 @@
:value="customTags"
@change="handleTagChange"
/>
<span v-if="showInput" class="help-text">{{ helpText }}</span>
</div>
</template>
@@ -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;
}
</style>