Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion packages/common/component/BindI18n.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@
:filter-method="filterMethod"
@change="selectI18n"
>
<tiny-option v-for="item in langData" :key="item.key" :label="item.key + item[currentLang]" :value="item.key">
<tiny-option
v-for="item in langData"
:key="item.key"
:label="`${item.key}: ${item[currentLang]}`"
:value="item.key"
>
</tiny-option>
</tiny-select>
<div v-if="paramsForm.length" class="params-form">
Expand Down
5 changes: 5 additions & 0 deletions packages/common/component/ConfigItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -600,6 +600,11 @@ export default {
:deep(.tiny-select .tiny-input__inner) {
padding-right: 26px;
}
:deep(.tiny-input-suffix) {
.tiny-input__inner {
padding-right: 28px;
}
}
}

.prop-description {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<tiny-input v-model="value" :type="type" :placeholder="placeholder" :rows="rows" @update:modelValue="change">
<template #suffix>
<template v-if="suffixIcons?.length" #suffix>
<div v-for="item in suffixIcons" :key="item.icon">
<svg-icon v-if="item.icon" :name="item.icon" class="tiny-svg-size" @click="item.onClick.action"></svg-icon>
</div>
Expand Down
Loading