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

View File

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

View File

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