Skip to content

Commit

Permalink
feat:流水线变量语法支持两种风格 TencentBlueKing#10576
Browse files Browse the repository at this point in the history
# Reviewed, transaction id: 19193
  • Loading branch information
useryuyu committed Sep 24, 2024
1 parent fb3036e commit c00799d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
<template #content>
<h3 class="title">{{ t('语法差异') }}</h3>
<bk-table :data="namingConventionData" show-overflow-tooltip>
<bk-table-column :label="$t('差异项')" prop="difference" :width="140" />
<bk-table-column :label="$t('传统风格')" prop="classic" :width="290">
<bk-table-column :label="t('差异项')" prop="difference" :width="140" />
<bk-table-column :label="t('传统风格')" prop="classic" :width="290">
<template #default="{ row }">
<div
class="label-column"
Expand All @@ -24,7 +24,7 @@
</div>
</template>
</bk-table-column>
<bk-table-column :label="$t('制约风格')" prop="constrainedMode">
<bk-table-column :label="t('制约风格')" prop="constrainedMode">
<template #default="{ row }">
<div
class="label-column"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
</div>
<div class="line-split" v-if="!isNotProject" />
</template>
<bk-loading v-if="dataLoaded" :loading="fetchGroupLoading">
<bk-loading v-if="dataLoaded" :loading="fetchGroupLoading" class='saide-content'>
<scroll-load-list
class="group-list"
ref="loadList"
Expand Down Expand Up @@ -526,6 +526,10 @@ export default {
margin-bottom: 5px;
}
}
.saide-content {
height: 100%;
overflow-y: auto;
}
.group-list {
max-height: calc(100% - 70px);
min-height: 80px;
Expand Down

0 comments on commit c00799d

Please sign in to comment.