diff --git a/frontend/src/business/components/api/definition/components/ApiConfig.vue b/frontend/src/business/components/api/definition/components/ApiConfig.vue index ce685b5a7f..e0e608f61b 100644 --- a/frontend/src/business/components/api/definition/components/ApiConfig.vue +++ b/frontend/src/business/components/api/definition/components/ApiConfig.vue @@ -217,7 +217,7 @@ this.response.body = body; } this.request.clazzName = TYPE_TO_C.get(this.request.type); - + this.sort(this.request.hashTree); }, saveApi(data) { diff --git a/frontend/src/business/components/api/definition/components/complete/EditCompleteHTTPApi.vue b/frontend/src/business/components/api/definition/components/complete/EditCompleteHTTPApi.vue index 68c467c29b..5bb106428a 100644 --- a/frontend/src/business/components/api/definition/components/complete/EditCompleteHTTPApi.vue +++ b/frontend/src/business/components/api/definition/components/complete/EditCompleteHTTPApi.vue @@ -135,7 +135,6 @@ import MsApiRequestForm from "../request/http/ApiHttpRequestForm"; import MsResponseText from "../response/ResponseText"; - import {WORKSPACE_ID} from '../../../../../../common/js/constants'; import {API_STATUS, REQ_METHOD} from "../../model/JsonData"; import {KeyValue} from "../../model/ApiTestModel"; import MsInputTag from "@/business/components/api/automation/scenario/MsInputTag"; diff --git a/frontend/src/business/components/api/definition/components/debug/DebugHttpPage.vue b/frontend/src/business/components/api/definition/components/debug/DebugHttpPage.vue index 32970becd5..acbfcf4b87 100644 --- a/frontend/src/business/components/api/definition/components/debug/DebugHttpPage.vue +++ b/frontend/src/business/components/api/definition/components/debug/DebugHttpPage.vue @@ -36,7 +36,7 @@

{{ $t('api_test.definition.request.req_param') }}

- +

{{ $t('api_test.definition.request.res_param') }}

diff --git a/frontend/src/business/components/api/definition/components/request/http/ApiHttpRequestForm.vue b/frontend/src/business/components/api/definition/components/request/http/ApiHttpRequestForm.vue index 11f8785018..d11e78bb1c 100644 --- a/frontend/src/business/components/api/definition/components/request/http/ApiHttpRequestForm.vue +++ b/frontend/src/business/components/api/definition/components/request/http/ApiHttpRequestForm.vue @@ -67,7 +67,7 @@ - + @@ -118,6 +118,12 @@ method: String, request: {}, response: {}, + definitionTest:{ + type:Boolean, + default() { + return false; + } + }, showScript: { type: Boolean, default: true, diff --git a/frontend/src/business/components/api/definition/components/runtest/RunTestHTTPPage.vue b/frontend/src/business/components/api/definition/components/runtest/RunTestHTTPPage.vue index 395eb95d94..af465f8ce7 100644 --- a/frontend/src/business/components/api/definition/components/runtest/RunTestHTTPPage.vue +++ b/frontend/src/business/components/api/definition/components/runtest/RunTestHTTPPage.vue @@ -48,7 +48,7 @@

{{ $t('api_test.definition.request.req_param') }}

- +

{{ $t('api_test.definition.request.res_param') }}