mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-29 21:28:52 +00:00
perf: 资产授权-AccountFormatter组件增加helpText参数
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -325,6 +325,7 @@
|
||||
"ReLoginErr": "ログイン時間が 5 分を超えました。もう一度ログインしてください"
|
||||
},
|
||||
"common": {
|
||||
"EnterCurrentInput": "現在の入力をループバックで終了",
|
||||
"Activity": "イベント",
|
||||
"Last30": "最近 30 回です",
|
||||
"SpecificInfo": "特別情報",
|
||||
|
||||
@@ -424,6 +424,7 @@
|
||||
"ReLoginErr": "登录时长已超过 5 分钟,请重新登录"
|
||||
},
|
||||
"common": {
|
||||
"EnterCurrentInput": "按回车结束当前输入",
|
||||
"SpecificInfo": "特殊信息",
|
||||
"CollectionSucceed": "收藏成功",
|
||||
"CancelCollection": "取消收藏",
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user