style(接口测试): 文档断言加入到场景步骤中显示不全问题修复

--bug=1018432 --user=赵勇 【接口测试】接口场景-文档结构断言,在小屏上无法删除 https://www.tapd.cn/55049933/s/1270100
This commit is contained in:
fit2-zhao 2022-10-20 18:23:46 +08:00 committed by fit2-zhao
parent 2c58d642c0
commit 67e5b0748e
6 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
<template>
<ms-container>
<ms-aside-container :height="'calc(100vh - 90px)'">
<ms-aside-container :height="'calc(100vh - 20px)'">
<div @click="showAll" style="overflow-x: hidden">
<div class="tip">{{ $t('test_track.plan_view.base_info') }}</div>
<el-form :model="currentScenario" label-position="right" label-width="80px" size="small" :rules="rules"

View File

@ -75,7 +75,7 @@
</template>
<!--请求内容-->
<template v-slot:request>
<legend style="width: 100%;">
<legend style="width: 100%;display:table-column">
<div v-if="!ifFromVariableAdvance">
<customize-req-info :is-customize-req="isCustomizeReq" :request="request" @setDomain="setDomain"/>
<p class="tip">{{ $t('api_test.definition.request.req_param') }} </p>

View File

@ -233,7 +233,7 @@ export default {
}
}
if (this.scenario && this.scenario.hashTree && this.node.expanded) {
this.recursive(this.scenario.hashTree, this.scenario.projectId, false);
this.recursive(this.scenario.hashTree, this.scenario.projectId, (this.scenario.id && this.scenario.referenced === 'REF'));
}
this.reload();
},

View File

@ -13,7 +13,7 @@
:if-from-variable-advance="ifFromVariableAdvance"
:title="title" v-loading="loading">
<!--自定义脚本-->
<legend style="width: 100%" v-if="request && this.request.type === 'JSR223Processor'">
<legend style="width: 100%;display:table-column" v-if="request && this.request.type === 'JSR223Processor'">
<p class="ms-tip">{{ $t('api_test.definition.request.req_param') }} </p>
<el-tabs v-model="activeName" class="request-tabs" @tab-click="tabClick">
<!-- 请求头-->

View File

@ -14,7 +14,7 @@
:title="pluginName">
<template v-slot:request>
<legend style="width: 100%">
<legend style="width: 100%;display:table-column">
<p class="tip">{{ $t('api_test.definition.request.req_param') }} </p>
<el-tabs v-model="activeName" class="request-tabs" @tab-click="tabClick">
<!-- 请求头-->

View File

@ -28,7 +28,7 @@
v-loading="loading"
ref="table">
<el-table-column prop="name" :label="$t('api_test.definition.request.esb_table.name')" width="230">
<el-table-column prop="name" :label="$t('api_test.definition.request.esb_table.name')" width="230" fixed="left">
<template slot-scope="scope">
<el-input
v-if="(scope.row.status && scope.column.fixed && scope.row.id!=='root') || (scope.row.type !=='object' && !scope.row.name)"