fix(接口测试): 修复导入dubbo协议接口编辑出错问题
--bug=1014081 --user=赵勇 【接口测试】jmx导入的DUBBO接口定义,在TEST页面更新接口会报错 https://www.tapd.cn/55049933/s/1182352
This commit is contained in:
parent
289239ff78
commit
d431d3be55
|
@ -338,7 +338,7 @@ public class ApiDefinitionService {
|
|||
}
|
||||
|
||||
public ApiDefinitionResult update(SaveApiDefinitionRequest request, List<MultipartFile> bodyFiles) {
|
||||
if (request.getRequest() != null) {
|
||||
if (request.getRequest() != null && StringUtils.isNotEmpty(request.getRequest().getId())) {
|
||||
deleteFileByTestId(request.getRequest().getId());
|
||||
}
|
||||
request.setBodyUploadIds(null);
|
||||
|
|
|
@ -11,7 +11,6 @@ export default {
|
|||
name: 'MsRun',
|
||||
components: {},
|
||||
props: {
|
||||
environment: Object,
|
||||
editCaseRequest: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
<!-- 环境 -->
|
||||
<api-environment-config ref="environmentConfig" @close="environmentConfigClose"/>
|
||||
<!-- 执行组件 -->
|
||||
<ms-run :debug="false" :environment="api.environment" :reportId="reportId" :run-data="runData"
|
||||
<ms-run :debug="false" :reportId="reportId" :run-data="runData"
|
||||
@runRefresh="runRefresh" @errorRefresh="errorRefresh" ref="runTest"/>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -82,7 +82,7 @@
|
|||
ref="caseList"/>
|
||||
|
||||
<!-- 执行组件 -->
|
||||
<ms-run :debug="false" :environment="api.environment" :reportId="reportId" :run-data="runData" :env-map="envMap"
|
||||
<ms-run :debug="false" :reportId="reportId" :run-data="runData" :env-map="envMap"
|
||||
@runRefresh="runRefresh" @errorRefresh="errorRefresh" ref="runTest"/>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
<!-- 环境 -->
|
||||
<api-environment-config ref="environmentConfig" @close="environmentConfigClose"/>
|
||||
<!-- 执行组件 -->
|
||||
<ms-run :debug="false" :environment="api.environment" :reportId="reportId" :run-data="runData"
|
||||
<ms-run :debug="false" :reportId="reportId" :run-data="runData"
|
||||
@runRefresh="runRefresh" @errorRefresh="errorRefresh" ref="runTest"/>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -66,7 +66,7 @@
|
|||
ref="caseList"/>
|
||||
|
||||
<!-- 执行组件 -->
|
||||
<ms-run :debug="false" :environment="api.environment" :reportId="reportId" :run-data="runData"
|
||||
<ms-run :debug="false" :reportId="reportId" :run-data="runData"
|
||||
@runRefresh="runRefresh" @errorRefresh="errorRefresh" ref="runTest"/>
|
||||
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue