diff --git a/api-test/frontend/src/business/definition/components/complete/EditCompleteHTTPApi.vue b/api-test/frontend/src/business/definition/components/complete/EditCompleteHTTPApi.vue index db1f483e60..ae17e13f3a 100644 --- a/api-test/frontend/src/business/definition/components/complete/EditCompleteHTTPApi.vue +++ b/api-test/frontend/src/business/definition/components/complete/EditCompleteHTTPApi.vue @@ -910,7 +910,7 @@ export default { this.basisData.caseTotal = 0; } this.httpForm = JSON.parse(JSON.stringify(this.basisData)); - if(this.basisData.request) { + if (this.basisData.request && this.basisData.id) { this.httpForm.path = this.basisData.request.path; this.httpForm.method = this.basisData.request.method; }