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 49925e5366..97f87d403b 100644 --- a/api-test/frontend/src/business/definition/components/complete/EditCompleteHTTPApi.vue +++ b/api-test/frontend/src/business/definition/components/complete/EditCompleteHTTPApi.vue @@ -672,6 +672,9 @@ export default { this.request.body.kvs = requestKvs; this.beforeRequest.body.kvs = beforeKvs } + if (Object.keys(this.request.body).indexOf('type')) { + this.beforeRequest.body.type = this.request.body.type + } let submitRequestBody = JSON.stringify(this.request.body); let beforeRequestBody = JSON.stringify(this.beforeRequest.body); if (submitRequestBody !== beforeRequestBody && !this.noShowSyncRuleRelation) {