diff --git a/frontend/src/business/components/api/definition/components/case/ApiCaseItem.vue b/frontend/src/business/components/api/definition/components/case/ApiCaseItem.vue index bab622424c..4b2ba6d11e 100644 --- a/frontend/src/business/components/api/definition/components/case/ApiCaseItem.vue +++ b/frontend/src/business/components/api/definition/components/case/ApiCaseItem.vue @@ -96,7 +96,7 @@

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

- + @@ -133,7 +133,7 @@ import ApiEnvironmentConfig from "../environment/ApiEnvironmentConfig"; import MsApiAssertions from "../assertion/ApiAssertions"; import MsSqlBasisParameters from "../request/database/BasisParameters"; - import MsTcpBasisParameters from "../request/tcp/TcpBasisParameters"; + import TcpFormatParameters from "@/business/components/api/definition/components/request/tcp/TcpFormatParameters"; import MsDubboBasisParameters from "../request/dubbo/BasisParameters"; import MsApiExtendBtns from "../reference/ApiExtendBtns"; import MsInputTag from "@/business/components/api/automation/scenario/MsInputTag"; @@ -159,7 +159,7 @@ ApiEnvironmentConfig, MsApiAssertions, MsSqlBasisParameters, - MsTcpBasisParameters, + TcpFormatParameters, MsDubboBasisParameters, MsApiExtendBtns, MsRequestResultTail, @@ -256,6 +256,7 @@ } data.message = true; data.request.useEnvironment = this.environment; + this.saveTestCase(data); this.$emit('singleRun', data); }, copyCase(data) {