refactor(性能测试): 页面高度修改
This commit is contained in:
parent
929ca1e0a1
commit
31478e4f3d
|
@ -112,7 +112,7 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
.infinite-list {
|
.infinite-list {
|
||||||
height: 500px;
|
height: calc(100vh - 390px);
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
|
|
|
@ -34,12 +34,12 @@
|
||||||
|
|
||||||
|
|
||||||
<el-tabs class="testplan-config" v-model="active">
|
<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"
|
<performance-basic-config :is-read-only="isReadOnly" :test="test" ref="basicConfig"
|
||||||
@tgTypeChange="tgTypeChange"
|
@tgTypeChange="tgTypeChange"
|
||||||
@fileChange="fileChange"/>
|
@fileChange="fileChange"/>
|
||||||
</el-tab-pane>
|
</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"
|
<performance-pressure-config :is-read-only="isReadOnly" :test="test" :test-id="testId"
|
||||||
@fileChange="fileChange"
|
@fileChange="fileChange"
|
||||||
ref="pressureConfig" @changeActive="changeTabActive"/>
|
ref="pressureConfig" @changeActive="changeTabActive"/>
|
||||||
|
@ -354,7 +354,7 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
.advanced-config {
|
.advanced-config {
|
||||||
height: calc(100vh - 280px);
|
height: calc(100vh - 265px);
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in New Issue