style(接口测试): 修复自定义请求推荐断言弹窗问题
--bug=1033104 --user=赵勇 【接口测试】场景里添加了自定义请求,推荐jsonpath的时候推荐窗口在自定义请求的下面一层 https://www.tapd.cn/55049933/s/1446679 Signed-off-by: fit2-zhao <yong.zhao@fit2cloud.com>
This commit is contained in:
parent
7103eb8bd5
commit
1516d97201
|
@ -495,8 +495,9 @@
|
||||||
v-if="type !== 'detail'"
|
v-if="type !== 'detail'"
|
||||||
:visible.sync="customizeVisible"
|
:visible.sync="customizeVisible"
|
||||||
:destroy-on-close="true"
|
:destroy-on-close="true"
|
||||||
direction="ltr"
|
direction="rtl"
|
||||||
:withHeader="false"
|
:withHeader="false"
|
||||||
|
:z-index="400"
|
||||||
:title="$t('api_test.automation.customize_req')"
|
:title="$t('api_test.automation.customize_req')"
|
||||||
style="overflow: auto"
|
style="overflow: auto"
|
||||||
:modal="false"
|
:modal="false"
|
||||||
|
@ -898,7 +899,8 @@ export default {
|
||||||
this.initPlugins();
|
this.initPlugins();
|
||||||
});
|
});
|
||||||
this.result = getEnvironmentByProjectId(this.projectId).then((response) => {
|
this.result = getEnvironmentByProjectId(this.projectId).then((response) => {
|
||||||
this.environments = response.data;});
|
this.environments = response.data;
|
||||||
|
});
|
||||||
this.getDefaultVersion();
|
this.getDefaultVersion();
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
@ -1853,7 +1855,7 @@ export default {
|
||||||
let enableArray = 0;
|
let enableArray = 0;
|
||||||
for (let i = 0; i < this.scenarioDefinition.length; i++) {
|
for (let i = 0; i < this.scenarioDefinition.length; i++) {
|
||||||
if (!this.scenarioDefinition[i].enable) {
|
if (!this.scenarioDefinition[i].enable) {
|
||||||
enableArray ++;
|
enableArray++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (enableArray > 0 && enableArray === this.scenarioDefinition.length) {
|
if (enableArray > 0 && enableArray === this.scenarioDefinition.length) {
|
||||||
|
@ -2971,7 +2973,6 @@ export default {
|
||||||
vertical-align: center;
|
vertical-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
:deep(.ms-main-container) {
|
:deep(.ms-main-container) {
|
||||||
padding: 5px 5px 5px 10px;
|
padding: 5px 5px 5px 10px;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue