fix(测试跟踪): 关联用例缺陷多条数据列表样式问题

--bug=1024740 --user=宋昌昌 【测试跟踪】关联用例-显示多了一条线 https://www.tapd.cn/55049933/s/1357853
This commit is contained in:
song-cc-rock 2023-03-31 11:00:33 +08:00 committed by jianxing
parent ef10628eb3
commit 1b84bd0906
3 changed files with 13 additions and 1 deletions

View File

@ -24,7 +24,7 @@
@header-dragend="headerDragend"
@cell-mouse-enter="showPopover"
@row-click="handleRowClick"
:max-height="maxHeight"
:max-height="enableMaxHeight ? maxHeight : 'auto'"
ref="table">
<el-table-column
@ -169,6 +169,12 @@ export default {
};
},
props: {
enableMaxHeight: {
type: Boolean,
default() {
return true;
}
},
maxHeight: {
type: String,
default() {
@ -714,6 +720,10 @@ export default {
height: 46px;
}
:deep(tr.el-table__row) {
height: 40px;
}
.addition-info-title {
margin-top: -10px;
}

View File

@ -51,6 +51,7 @@
:fields.sync="fields"
:operators="operators"
:enable-selection="false"
:enable-max-height="false"
:max-height="'calc(100vh)'"
ref="table"
@refresh="getIssues"

View File

@ -38,6 +38,7 @@
v-loading="result.loading"
:show-select-all="false"
:data="data"
:enable-max-height="false"
:enable-selection="false"
:operators="operators"
@refresh="initTable"