refactor(性能测试): 页面高度修改

This commit is contained in:
Captain.B 2021-05-29 09:58:21 +08:00 committed by 刘瑞斌
parent 929ca1e0a1
commit 31478e4f3d
2 changed files with 4 additions and 4 deletions

View File

@ -112,7 +112,7 @@ export default {
}
.infinite-list {
height: 500px;
height: calc(100vh - 390px);
padding: 0;
margin: 0;
list-style: none;

View File

@ -34,12 +34,12 @@
<el-tabs class="testplan-config" v-model="active">
<el-tab-pane :label="$t('load_test.basic_config')">
<el-tab-pane :label="$t('load_test.basic_config')" class="advanced-config">
<performance-basic-config :is-read-only="isReadOnly" :test="test" ref="basicConfig"
@tgTypeChange="tgTypeChange"
@fileChange="fileChange"/>
</el-tab-pane>
<el-tab-pane :label="$t('load_test.pressure_config')">
<el-tab-pane :label="$t('load_test.pressure_config')" class="advanced-config">
<performance-pressure-config :is-read-only="isReadOnly" :test="test" :test-id="testId"
@fileChange="fileChange"
ref="pressureConfig" @changeActive="changeTabActive"/>
@ -354,7 +354,7 @@ export default {
}
.advanced-config {
height: calc(100vh - 280px);
height: calc(100vh - 265px);
overflow: auto;
}
</style>