Skip to content

Commit

Permalink
optimization: 样式调整
Browse files Browse the repository at this point in the history
  • Loading branch information
ywywZhou authored and luofann committed Jul 26, 2023
1 parent 05a44fb commit cf8838f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
5 changes: 3 additions & 2 deletions frontend/desktop/src/components/common/searchSelect/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
class="search-item"
v-for="(record, index) in recordsData" :key="index"
@click="setSearchSelectValue(record)">
<span class="search-item-label">{{ record.name + '' }}</span>
<span class="search-item-label">{{ record.name + $t('') + (lang === 'en' ? '&nbsp;' : '') }}</span>
<span class="search-item-text" v-bk-overflow-tips>{{ record.text_value }}</span>
<i class="bk-icon icon-delete" @click.stop="onDeleteRecord(record)"></i>
</dd>
Expand Down Expand Up @@ -169,6 +169,7 @@
},
computed: {
...mapState({
lang: state => state.lang,
username: state => state.username
}),
isShowPlaceholder () {
Expand Down Expand Up @@ -238,7 +239,7 @@
} else {
recordItem.text_value = recordItem.values
}
recordItem.name = nameMap[recordItem.id]
recordItem.name = nameMap[recordItem.id] || this.$t(recordItem.name)
return recordItem
})
}
Expand Down
4 changes: 1 addition & 3 deletions frontend/desktop/src/pages/task/TaskParamEdit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -430,13 +430,11 @@
padding: 0;
}
}
.tag-ip-selector-wrap,
.resource-allocation {
border: none;
padding: 0;
}
.tag-ip-selector-wrap {
border: none;
}
.scheme-select-name {
.common-icon-dark-circle-warning {
right: 30px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
</li>
</ul>
<div v-else class="empty-variable-tips">
<NoData message="$t('该流程暂无自定义全局变量')"></NoData>
<NoData :message="$t('该流程暂无自定义全局变量')"></NoData>
</div>
</div>
<div class="variable-footer">
Expand Down

0 comments on commit cf8838f

Please sign in to comment.